When calling the gds.list() in GDS python client, you get this error message if you are using the GDS python client 1.1.0a2.
ClientError: {code: Neo.ClientError.Statement.NotSystemDatabaseError} {message: This is an administration command and it should be executed against the system database: SHOW DATABASES} During handling of the above exception, another exception occurred: UnableToConnectError Traceback (most recent call last) /tmp/ipykernel_7263/916452067.py in <module> 1 # Create our client and check connectivity ----> 2 gds = GraphDataScience(AURADS_URI, auth=(NEO4J_USER, NEO4J_PASS), aura_ds=True) 3 gds.list()
This is a known issue and this will be fixed.
Meanwhile, please use the latest formal release GDS python client 1.0.0 to overcome this error: pip install graphdatascience==1.0.0
# AuraDS connection/function testing program
from graphdatascience import GraphDataScience
# Configures the driver with AuraDS-recommended settings
gds = GraphDataScience(
"neo4j+s://my-aura-ds.databases.neo4j.io:7687",
auth=("neo4j", "my-password"),
aura_ds=True
)
print(gds.version())
print(gds.list())
Example output:
2.0.4
name ... type
0 gds.allShortestPaths.delta.mutate ... procedure
1 gds.allShortestPaths.delta.mutate.estimate ... procedure
2 gds.allShortestPaths.delta.stream ... procedure
3 gds.allShortestPaths.delta.stream.estimate ... procedure
4 gds.allShortestPaths.delta.write ... procedure
.. ... ... ...
290 gds.util.infinity ... function
291 gds.util.isFinite ... function
292 gds.util.isInfinite ... function
293 gds.util.nodeProperty ... function
294 gds.version ... function
[295 rows x 4 columns]
Comments
0 comments
Please sign in to leave a comment.