We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbd5a26 commit 96f87a6Copy full SHA for 96f87a6
simvue/api/objects/base.py
@@ -432,7 +432,7 @@ def count(cls, **kwargs) -> int:
432
"""
433
_class_instance = cls(_read_only=True)
434
_count_total: int = 0
435
- for _data in cls._get_all_objects(**kwargs):
+ for _data in cls._get_all_objects(count=None, offset=None, **kwargs):
436
if not (_count := _data.get("count")):
437
raise RuntimeError(
438
f"Expected key 'count' for retrieval of {_class_instance.__class__.__name__.lower()}s"
0 commit comments