qdrant_client.http.api_client module¶
- class ApiClient(host: Optional[str] = None, **kwargs: Any)[source]¶
Bases:
object
- add_middleware(middleware: Callable[[Request, Callable[[Request], Response]], Response]) None [source]¶
- request(*, type_: Type[T], method: str, url: str, path_params: Dict[str, Any] = 'None', **kwargs: Any) T [source]¶
- request(*, type_: None, method: str, url: str, path_params: Dict[str, Any] = 'None', **kwargs: Any) None
- class AsyncApiClient(host: Optional[str] = None, **kwargs: Any)[source]¶
Bases:
object
- add_middleware(middleware: Callable[[Request, Callable[[Request], Awaitable[Response]]], Awaitable[Response]]) None [source]¶
- async request(*, type_: Type[T], method: str, url: str, path_params: Dict[str, Any] = 'None', **kwargs: Any) T [source]¶
- async request(*, type_: None, method: str, url: str, path_params: Dict[str, Any] = 'None', **kwargs: Any) None