Skip to main content

get_server_version()
About to Deprecate

This operation checks the version of the Zilliz Cloud cluster.

Request syntax

get_server_version(
using: str = "default",
timeout: float | None
)
from pymilvus import connections, utility

# Establish a connection
connections.connect(...)

# Check the server version
server_version = utility.get_server_version()

PARAMETERS:

  • using (str) -

    The alias of the employed connection.

    The default value is default, indicating that this operation employs the default connection.

  • timeout (float | None)

    The timeout duration for this operation. Setting this to None indicates that this operation timeouts when any response arrives or any error occurs.

RETURN TYPE:

str

RETURNS:

The server version.

EXAMPLE:

from pymilvus import connections, utility

# Connection to YOUR_CLUSTER_ENDPOINT
connections.connect()

# Check the server version
server_version = utility.get_server_version()

The following operations are related to get_server_version():