Skip to content

AsyncMilvusClient Missing has_collection()` Method #992

@SwAt1563

Description

@SwAt1563

Description:
When using pymilvus, I noticed that AsyncMilvusClient does not have the has_collection() method, whereas MilvusClient does.

Steps to Reproduce:

from pymilvus import AsyncMilvusClient

client = AsyncMilvusClient()
# Attempting to check for a collection
client.has_collection("my_collection")  # AttributeError: 'AsyncMilvusClient' object has no attribute 'has_collection'

Expected Behavior:

AsyncMilvusClient should have a has_collection() method similar to MilvusClient, or an equivalent alternative should be documented.

Environment:

  • pymilvus version: 2.5.5

Additional Context:

Is there an alternative way to check for collection existence in AsyncMilvusClient, or is this a missing feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions