Skip to content

Commit

Permalink
Remove async from sparse_embedding_model_name property (#581)
Browse files Browse the repository at this point in the history
* Remove async from sparse_embedding_model_name property

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
  • Loading branch information
yasyf and joein authored Apr 5, 2024
1 parent c8aa21c commit 07404f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qdrant_client/async_qdrant_fastembed.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def embedding_model_name(self) -> str:
return self._embedding_model_name

@property
async def sparse_embedding_model_name(self) -> Optional[str]:
def sparse_embedding_model_name(self) -> Optional[str]:
return self._sparse_embedding_model_name

def set_model(
Expand Down
1 change: 1 addition & 0 deletions tools/async_client_generator/fastembed_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def get_async_methods(class_obj: type) -> List[str]:
"get_vector_field_name",
"get_fastembed_vector_params",
"embedding_model_name",
"sparse_embedding_model_name",
],
class_replace_map={
"QdrantBase": "AsyncQdrantBase",
Expand Down

0 comments on commit 07404f2

Please sign in to comment.