Skip to content

Commit

Permalink
fix: call wrong function name when creating collection without schema (
Browse files Browse the repository at this point in the history
…milvus-io#2471)

Signed-off-by: Ruichen Bao <[email protected]>
  • Loading branch information
brcarry authored Dec 18, 2024
1 parent 52c366c commit 2841bdb
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 @@ -117,7 +117,7 @@ async def _fast_create_collection(
if "consistency_level" not in kwargs:
kwargs["consistency_level"] = DEFAULT_CONSISTENCY_LEVEL
try:
await conn.async_create_collection(collection_name, schema, timeout=timeout, **kwargs)
await conn.create_collection(collection_name, schema, timeout=timeout, **kwargs)
logger.debug("Successfully created collection: %s", collection_name)
except Exception as ex:
logger.error("Failed to create collection: %s", collection_name)
Expand Down

0 comments on commit 2841bdb

Please sign in to comment.