Skip to content

Commit

Permalink
fix: fix type hint for set_sparse_model
Browse files Browse the repository at this point in the history
  • Loading branch information
joein committed Aug 20, 2024
1 parent 5977227 commit 2a45e35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qdrant_client/async_qdrant_fastembed.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def set_sparse_model(
cache_dir: Optional[str] = None,
threads: Optional[int] = None,
providers: Optional[Sequence["OnnxProvider"]] = None,
**kwargs,
**kwargs: Any,
) -> None:
"""
Set sparse embedding model to use for hybrid search over documents in combination with dense embeddings.
Expand Down
2 changes: 1 addition & 1 deletion qdrant_client/qdrant_fastembed.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def set_sparse_model(
cache_dir: Optional[str] = None,
threads: Optional[int] = None,
providers: Optional[Sequence["OnnxProvider"]] = None,
**kwargs,
**kwargs: Any,
) -> None:
"""
Set sparse embedding model to use for hybrid search over documents in combination with dense embeddings.
Expand Down

0 comments on commit 2a45e35

Please sign in to comment.