Skip to content

Commit 96f87a6

Browse files
committed
🐛 Fix method on API object base class
1 parent fbd5a26 commit 96f87a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simvue/api/objects/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def count(cls, **kwargs) -> int:
432432
"""
433433
_class_instance = cls(_read_only=True)
434434
_count_total: int = 0
435-
for _data in cls._get_all_objects(**kwargs):
435+
for _data in cls._get_all_objects(count=None, offset=None, **kwargs):
436436
if not (_count := _data.get("count")):
437437
raise RuntimeError(
438438
f"Expected key 'count' for retrieval of {_class_instance.__class__.__name__.lower()}s"

0 commit comments

Comments
 (0)