Skip to content

Commit fd4db2a

Browse files
author
Alan Christie
committed
fix: Fixed import os in Jupyter example
1 parent a2e13f0 commit fd4db2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/JobChain.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"source": [
4040
"# To run Jobs using the API we need our \"Project\".\n",
4141
"# This is set for us by the Data Manager using an environment variable.\n",
42+
"import os\n",
4243
"project = os.environ[\"DM_PROJECT_ID\"]"
4344
]
4445
},
@@ -52,7 +53,6 @@
5253
"# The file is written for us by the Data Manager and is written to a\n",
5354
"# '.squonk2' directory in the project root. The environment is given\n",
5455
"# the name \"current\" (which we'll refer to later).\n",
55-
"import os\n",
5656
"os.environ[\"SQUONK2_ENVIRONMENTS_FILE\"] = \".squonk2/environments\""
5757
]
5858
},

0 commit comments

Comments
 (0)