milvus-logo
Star
0
Forks
0
快速开始

drop()

This method drops a partition and the data within.

Invocation

drop(timeout=None, **kwargs)

Parameters

ParameterDescriptionTypeRequired
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

Return

No return.

Raises

PartitionNotExistException: error if the partition does not exist.

Example

from pymilvus import Partition
partition = Partition("book", "novel", "")
partition.drop()