milvus-logo
LFAI
< Docs
  • Python

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():

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?