diff --git a/pymilvus/orm/iterator.py b/pymilvus/orm/iterator.py index 97b348419..709efe500 100644 --- a/pymilvus/orm/iterator.py +++ b/pymilvus/orm/iterator.py @@ -504,6 +504,7 @@ def __init__( "timeout": timeout, "round_decimal": round_decimal, } + self._collection_name = collection_name self._expr = expr self.__check_set_params(param) self.__check_for_special_index_param()