Skip to content

Commit 4bf408b

Browse files
committed
Explicit type
1 parent 79ff3bf commit 4bf408b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rushdb/api/records.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import typing
2-
from typing import Any, Dict, List, Optional, Union
2+
from typing import Any, Dict, List, Optional, Union, Tuple
33

44
from ..models.record import Record
55
from ..models.relationship import RelationshipDetachOptions, RelationshipOptions
@@ -427,7 +427,7 @@ def find(
427427
search_query: Optional[SearchQuery] = None,
428428
record_id: Optional[str] = None,
429429
transaction: Optional[Transaction] = None,
430-
) -> (List[Record], int):
430+
) -> Tuple[List[Record], int]:
431431
"""Search for and retrieve records matching the specified criteria.
432432
433433
Searches the database for records that match the provided search query.

0 commit comments

Comments
 (0)