Skip to content

Commit c2b1ca2

Browse files
committed
Define DbmsConnectionInfo in relevant cell
Before it was needed to execute the estimation cell
1 parent caa0626 commit c2b1ca2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/gds-sessions.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"metadata": {},
121121
"outputs": [],
122122
"source": [
123-
"from graphdatascience.session import AlgorithmCategory, DbmsConnectionInfo\n",
123+
"from graphdatascience.session import AlgorithmCategory\n",
124124
"\n",
125125
"# Estimate the memory needed for the GDS session\n",
126126
"memory = sessions.estimate(\n",
@@ -138,6 +138,8 @@
138138
"source": [
139139
"from datetime import timedelta\n",
140140
"\n",
141+
"from graphdatascience.session import DbmsConnectionInfo\n",
142+
"\n",
141143
"# Identify the AuraDB instance\n",
142144
"db_connection = DbmsConnectionInfo(\n",
143145
" uri=os.environ[\"AURA_DB_ADDRESS\"], username=os.environ[\"AURA_DB_USER\"], password=os.environ[\"AURA_DB_PW\"]\n",

0 commit comments

Comments
 (0)