diff --git a/connect/client/models/resourceset.py b/connect/client/models/resourceset.py index f2a046a..bf9d0a7 100644 --- a/connect/client/models/resourceset.py +++ b/connect/client/models/resourceset.py @@ -312,8 +312,9 @@ def __iter__(self): return iter(self._results) def __bool__(self): - self._fetch_all() - return bool(self._results) + copy = self._copy() + copy._fetch_all() + return bool(copy._results) def __getitem__(self, key): # noqa: CCR001 self._validate_key(key)