Skip to content

[FEATURE]: AsyncMilvusClient Missing has_collection() Method #2691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
SwAt1563 opened this issue Mar 12, 2025 · 0 comments
Open
1 task done

[FEATURE]: AsyncMilvusClient Missing has_collection() Method #2691

SwAt1563 opened this issue Mar 12, 2025 · 0 comments
Milestone

Comments

@SwAt1563
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

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?

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Anything else?

No response

@XuanYang-cn XuanYang-cn added this to the 2.5.7 milestone Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants