Skip to content

Commit 72393fc

Browse files
committed
Filter out new error for usage of id function
1 parent 52da607 commit 72393fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

graphdatascience/error/cypher_warning_handler.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ def wrapper(self: CallerBase, *args: Any, **kwargs: Any) -> Any:
3030
message=r"^The query used a deprecated function. \('id' has been replaced by 'elementId or an application-generated id'\)",
3131
)
3232

33+
# since 2025.06
34+
warnings.filterwarnings(
35+
"ignore",
36+
message=r"ˆThe query used a deprecated function. \('id' has been replaced by 'elementId or consider using an application-generated id'\)",
37+
)
38+
3339
return func(self, *args, **kwargs)
3440

3541
return cast(F, wrapper)

0 commit comments

Comments
 (0)