From fa4f1a18edb3151fe5b28c1ba48e4a0bc4dd5288 Mon Sep 17 00:00:00 2001 From: Anthony Mahanna Date: Fri, 6 Dec 2024 12:31:44 -0500 Subject: [PATCH] fix: `profile` typing --- arango/aql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arango/aql.py b/arango/aql.py index 4e4fef8..8552d0b 100644 --- a/arango/aql.py +++ b/arango/aql.py @@ -264,7 +264,7 @@ def execute( cache: Optional[bool] = None, memory_limit: int = 0, fail_on_warning: Optional[bool] = None, - profile: Optional[bool | int] = None, + profile: Optional[Union[bool, int]] = None, max_transaction_size: Optional[int] = None, max_warning_count: Optional[int] = None, intermediate_commit_count: Optional[int] = None,