diff --git a/pymilvus/orm/collection.py b/pymilvus/orm/collection.py index 2c593c45b..1ea66b057 100644 --- a/pymilvus/orm/collection.py +++ b/pymilvus/orm/collection.py @@ -412,7 +412,7 @@ def load( >>> collection.load() """ conn = self._get_connection() - if partition_names is not None: + if not partition_names: conn.load_partitions( collection_name=self._name, partition_names=partition_names,