Skip to content

Commit e64a595

Browse files
authored
Fixed incorrect type hint in hnswlib.py (docarray#1847)
Signed-off-by: James Brown <randomvoidmail@foxmail.com>
1 parent 104b403 commit e64a595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docarray/index/backends/hnswlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def _search_and_filter(
641641
queries: np.ndarray,
642642
limit: int,
643643
search_field: str = '',
644-
hashed_ids: Optional[Set[str]] = None,
644+
hashed_ids: Optional[Set[int]] = None,
645645
) -> _FindResultBatched:
646646
"""
647647
Executes a search and filter operation on the database.

0 commit comments

Comments
 (0)