disconnect()
This operation disconnects the client from the specified connection.
Request Syntax
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
from pymilvus import connections
connections.disconnect(alias="default")
Related operations
The following operations are related to disconnect()
: