Skip to content

Conversation

FlorentinD
Copy link
Contributor

allow to explicitly pass it.
This is important if the original Aura instance id not part of the uri. Such as for multi-db support

ref GDSA-283

Copy link

netlify bot commented Sep 18, 2025

Deploy Preview for neo4j-graph-data-science-client ready!

Name Link
🔨 Latest commit 56f2b6e
🔍 Latest deploy log https://app.netlify.com/projects/neo4j-graph-data-science-client/deploys/68dbe8877d86380008172769
😎 Deploy Preview https://deploy-preview-959--neo4j-graph-data-science-client.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@FlorentinD FlorentinD force-pushed the gds-session-override-instance-id branch from 38a229e to e52a088 Compare September 18, 2025 15:55
@FlorentinD
Copy link
Contributor Author

this override, is only important temporarily while the feature is still in EA.
in the future the instance id will be part of the uri again.

having this as a fallback option still seems like a good idea to me. thinking of the case where the customer has the original uri hidden. could be also a very rare use-case though. especially, would the user know instance_id?

allow to explicitly pass it.
This is important if the original Aura instance id not part of the uri. Such as for multi-db support

ref GDSA-283
@FlorentinD FlorentinD force-pushed the gds-session-override-instance-id branch from e52a088 to 56f2b6e Compare September 30, 2025 14:26
@FlorentinD FlorentinD requested a review from DarthMax September 30, 2025 14:28
aura_instance_id = AuraApi.extract_id(db_connection.uri) if not aura_instance_id else aura_instance_id
aura_db_instance = self._aura_api.list_instance(aura_instance_id)

if aura_db_instance is None:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could always have a deprecation warning if the aura_instance_id was not provided explicitly.
helping the user to migrate from the implicit behavior -- being future proof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant