Shortcuts

qdrant_client.connection module

create_generic_async_client_interceptor(intercept_call: Any) _GenericAsyncClientInterceptor[source]
create_generic_client_interceptor(intercept_call: Any) _GenericClientInterceptor[source]
get_async_channel(host: str, port: int, ssl: bool, metadata: Optional[list[tuple[str, str]]] = None, options: Optional[dict[str, Any]] = None, compression: Optional[Compression] = None, auth_token_provider: Optional[Union[Callable[[], str], Callable[[], Awaitable[str]]]] = None) Channel[source]
get_channel(host: str, port: int, ssl: bool, metadata: Optional[list[tuple[str, str]]] = None, options: Optional[dict[str, Any]] = None, compression: Optional[Compression] = None, auth_token_provider: Optional[Callable[[], str]] = None) Channel[source]
header_adder_async_interceptor(new_metadata: list[tuple[str, str]], auth_token_provider: Optional[Union[Callable[[], str], Callable[[], Awaitable[str]]]] = None) _GenericAsyncClientInterceptor[source]
header_adder_interceptor(new_metadata: list[tuple[str, str]], auth_token_provider: Optional[Callable[[], str]] = None) _GenericClientInterceptor[source]
parse_channel_options(options: Optional[dict[str, Any]] = None) list[tuple[str, Any]][source]
parse_ssl_credentials(options: Optional[dict[str, Any]] = None) dict[str, Optional[bytes]][source]

Parse ssl credentials to create grpc.ssl_channel_credentials for grpc.secure_channel

WARN: Directly modifies input options

Returns:

dict[str, Optional[bytes]] – dict(root_certificates=…, private_key=…, certificate_chain=…)

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