Skip to content

Commit

Permalink
fix: [2.4] await conn.describe_collection in async client's query
Browse files Browse the repository at this point in the history
Signed-off-by: Ruichen Bao <[email protected]>
  • Loading branch information
brcarry committed Dec 23, 2024
1 parent 8386ee3 commit fe493a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/milvus_client/async_milvus_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ async def query(

if ids:
try:
schema_dict = conn.describe_collection(collection_name, timeout=timeout, **kwargs)
schema_dict = await conn.describe_collection(collection_name, timeout=timeout, **kwargs)
except Exception as ex:
logger.error("Failed to describe collection: %s", collection_name)
raise ex from ex
Expand Down

0 comments on commit fe493a8

Please sign in to comment.