Skip to content

Commit f99dd18

Browse files
authored
1 parent 5152f7c commit f99dd18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph_notebook/neptune/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def get_opencypher_driver(self):
393393
url = f'bolt://{self.host}:{self.port}'
394394

395395
if self.is_neptune_domain():
396-
if self._session:
396+
if self._session and self.iam_enabled:
397397
# check engine version via status API to determine if we need the OC endpoint path
398398
status_res = self.status()
399399
status_res.raise_for_status()

0 commit comments

Comments
 (0)