milvus-logo

disconnect()

This method disconnects the client from the specified Milvus connection.

Invocation

disconnect(alias)

Parameters

ParameterDescriptionTypeRequired
aliasAlias of the connection to disconnect from.StringTrue

Return

No return.

Raises

None.

Example

from pymilvus import connections
connections.disconnect("default")