Skip to content

Commit 8f5f267

Browse files
committed
[DOC] Reading .env variables
1 parent 717ca35 commit 8f5f267

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/tutorials/ch1_fundamentals/ch1_7_3d_visualization.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
import gempy_viewer as gpv
1111
from gempy import generate_example_model
1212
from gempy.core.data.enumerators import ExampleModel
13+
import dotenv
14+
15+
dotenv.load_dotenv()
1316

1417
# sphinx_gallery_thumbnail_number = -1
1518

@@ -70,6 +73,7 @@
7073
file_name="gempy_model",
7174
user_token=None, # If None, it will try to grab it from the environment
7275
grab_link=True,
76+
make_new_space=False
7377
)
7478

7579
print(f"Generated Link: {link}")

0 commit comments

Comments
 (0)