milvus-logo
LFAI
< Docs
  • Python
    • MilvusClient

close()

This operation closes the current Milvus client.

Request syntax

close() -> None

PARAMETERS:

None

RETURN TYPE:

NoneType

RETURNS:

None

Exceptions:

None

Examples

from pymilvus import MilvusClient

# 1. Set up a milvus client
client = MilvusClient(
    uri="http://localhost:19530",
    token="root:Milvus"
)

# 2. Close the client
client.close()
Feedback

Was this page helpful?