milvus-logo
LFAI
< Docs

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 loadStringTrue
partition_namesName of the partition(s) to loadlist[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 collectionStringFalse

Return

No return.

Raises

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

Was this page helpful?