milvus-logo

wait_for_loading_complete()

This method blocks all other operations until loading is done, exception is raised, or timeout is triggered.

Invocation

wait_for_loading_complete(collection_name, partition_names=None, timeout=None, using='default')

Parameters

ParameterDescriptionTypeRequired
collection_nameName of the collection to load.StringTrue
partition_namesName of the partition(s) to load.list[String]False
timeoutAn optional duration of time in seconds to allow for the RPC. If it is set to None, the client keeps waiting until the server responds or error occurs.FloatFalse
usingMilvus connection used to load the collection.StringFalse

Return

No return.

Raises

  • CollectionNotExistException: error if the collection does not exist.
  • PartitionNotExistException: error if the partition does not exist.