get_replicate_configuration()
Adds replication configuration retrieval. Async variant shares the sync method contract.
Request Syntax
get_replicate_configuration(
timeout: Optional[float] = None,
**kwargs,
) -> ReplicateConfiguration
PARAMETERS:
-
timeout (Optional[float]) - Default:
NoneThe maximum time, in seconds, to wait for the RPC. -
kwargs (Any) - The additional request arguments.
RETURN TYPE:
ReplicateConfiguration
RETURNS:
Current replication configuration returned by Milvus.
EXCEPTIONS:
- MilvusException Raised when the server rejects the request or the RPC fails. Inspect the server error message for exact failure details.
Examples
Demonstrates get replicate configuration usage.
from pymilvus import MilvusClient
client = MilvusClient(uri="http://localhost:19530", token="root:Milvus")
config = client.get_replicate_configuration()
print(config)