Files
qdrant-client/qdrant_client/http/__init__.py
Arnaud Gourlay 93edff8f97 Geo polygons support (#325)
* regenerate client

* regen grpc client

* document build process

* work from Zein in https://github.com/qdrant/qdrant-client/pull/272

* update rest client with optional field

* code refactor and better naming

* remove shapely as a dependency

* fix typing

---------

Co-authored-by: zzzz-vincent <wenzishen.vincent@hotmail.com>
Co-authored-by: generall <andrey@vasnetsov.com>
2023-10-06 21:43:25 +02:00

18 lines
605 B
Python

import inspect
from pydantic import BaseModel
from qdrant_client._pydantic_compat import update_forward_refs
from qdrant_client.http.api_client import ( # noqa F401
ApiClient as ApiClient,
AsyncApiClient as AsyncApiClient,
AsyncApis as AsyncApis,
SyncApis as SyncApis,
)
from qdrant_client.http.models import models as models # noqa F401
for model in inspect.getmembers(models, inspect.isclass):
if model[1].__module__ == "qdrant_client.http.models.models":
model_class = model[1]
if issubclass(model_class, BaseModel):
update_forward_refs(model_class)