Shortcuts

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]
close() 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
request_sync(*, type_: Type[T], **kwargs: Any) T[source]
request_sync(*, type_: None, **kwargs: Any) None

This method is not used by the generated apis, but is included for convenience

send(request: Request, type_: Type[T]) T[source]
send_inner(request: Request) Response[source]
class AsyncApiClient(host: Optional[str] = None, **kwargs: Any)[source]

Bases: object

async aclose() None[source]
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
request_sync(*, type_: Type[T], **kwargs: Any) T[source]
request_sync(*, type_: None, **kwargs: Any) None

This method is not used by the generated apis, but is included for convenience

async send(request: Request, type_: Type[T]) T[source]
async send_inner(request: Request) Response[source]
class AsyncApis(host: Optional[str] = None, **kwargs: Any)[source]

Bases: Generic[AsyncClientT]

async aclose() None[source]
class BaseAsyncMiddleware[source]

Bases: object

class BaseMiddleware[source]

Bases: object

class SyncApis(host: Optional[str] = None, **kwargs: Any)[source]

Bases: Generic[ClientT]

close() None[source]
parse_as_type(obj: Any, type_: Type[T]) T[source]

Qdrant

Learn more about Qdrant vector search project and ecosystem

Discover Qdrant

Similarity Learning

Explore practical problem solving with Similarity Learning

Learn Similarity Learning

Community

Find people dealing with similar problems and get answers to your questions

Join Community