File tree Expand file tree Collapse file tree
weaviate/collections/collection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ def iterator(
310310 Raises:
311311 weaviate.exceptions.WeaviateGRPCQueryError: If the request to the Weaviate server fails.
312312 """
313- if self .query ._connection ._weaviate_version .is_lower_than (1 , 33 , 0 ):
313+ if filters is not None and self .query ._connection ._weaviate_version .is_lower_than (1 , 33 , 0 ):
314314 raise WeaviateUnsupportedFeatureError (
315315 "Iterator with filters" , self ._connection .server_version , "1.33.0"
316316 )
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ def iterator(
335335 Raises:
336336 weaviate.exceptions.WeaviateGRPCQueryError: If the request to the Weaviate server fails.
337337 """
338- if self .query ._connection ._weaviate_version .is_lower_than (1 , 33 , 0 ):
338+ if filters is not None and self .query ._connection ._weaviate_version .is_lower_than (1 , 33 , 0 ):
339339 raise WeaviateUnsupportedFeatureError (
340340 "Iterator with filters" , self ._connection .server_version , "1.33.0"
341341 )
You can’t perform that action at this time.
0 commit comments