disconnect()
Near DeprecationThis operation disconnects the client from the specified connection.
Request Syntax
python
disconnect(alias: str)
PARAMETERS:
-
alias (string) -
[REQUIRED]
A connection alias.
RETURN TYPE:
None
RETURNS:
None
EXCEPTIONS:
-
ConnectionConfigException
This exception will be raised when the connection configuration is invalid.
Examples
python
from pymilvus import connections
connections.disconnect(alias="default")
Related operations
The following operations are related to disconnect():