Skip to content

Commit 581bdb8

Browse files
committed
Fix gds.is_licensed for AuraDS
1 parent 0f30ea1 commit 581bdb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphdatascience/system/system_endpoints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def is_licensed(self) -> bool:
5656
try:
5757
isLicensed: bool = self._query_runner.run_cypher(query, custom_error=False).squeeze()
5858
except Exception as e:
59-
# AuraDS does not have `gds.debug.sysInfo`, but is always GDS EE.
60-
if re.match(r"There is no procedure with the name `gds.*` registered for this database instance", str(e)):
59+
# AuraDS does not have `gds.isLicensed`, but is always GDS EE.
60+
if re.match(r"Unknown function 'gds.isLicensed'", str(e)):
6161
isLicensed = True
6262
else:
6363
raise e

0 commit comments

Comments
 (0)