Skip to content

Commit

Permalink
Do not sign non-IAM Bolt requests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnchin committed Jan 26, 2023
1 parent 5152f7c commit f99dd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph_notebook/neptune/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def get_opencypher_driver(self):
url = f'bolt://{self.host}:{self.port}'

if self.is_neptune_domain():
if self._session:
if self._session and self.iam_enabled:
# check engine version via status API to determine if we need the OC endpoint path
status_res = self.status()
status_res.raise_for_status()
Expand Down

0 comments on commit f99dd18

Please sign in to comment.