qdrant / qdrant-client

Python client for Qdrant vector search engine
https://qdrant.tech
Apache License 2.0
798 stars 121 forks source link

mypy fails to recognize import `from qdrant_client import models` #555

Open joein opened 8 months ago

joein commented 8 months ago

mypy fails to recognize from qdrant_client import models, and instead requires from qdrant_client.http import models

Amrutha2018 commented 2 months ago

Hi @joein ,

I've been trying to reproduce this issue in the current version of the qdrant-client, but I wasn't able to encounter the same problem. I ran mypy on a simple script that imports models from qdrant_client, and it completed successfully with no issues.

If there are specific steps or a particular setup/environment where this issue can be reliably reproduced, could you please provide more details? It would be helpful to know if there's any mypy configuration or a more complex scenario where this occurs.

Thanks!