You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this. The behavior you're seeing is due to the client automatically paginating results behind the scenes. In this mode, the limit parameter controls the page size, not the total number of results. The good news is that we just release v1.15.0, and we’ve added a new top-level pagination flag you can use when creating the RESTClient. If you set pagination=False, it disables auto-pagination and treats limit as a hard cap on the number of results returned.
Activity
Fix bug regarding infinite pagination #865 #868 #886
justinpolygon commentedon Jul 7, 2025
Hey @AirswitchAsa,
Thanks for reporting this. The behavior you're seeing is due to the client automatically paginating results behind the scenes. In this mode, the
limit
parameter controls the page size, not the total number of results. The good news is that we just releasev1.15.0
, and we’ve added a new top-levelpagination
flag you can use when creating theRESTClient
. If you setpagination=False
, it disables auto-pagination and treatslimit
as a hard cap on the number of results returned.Here’s an example:
To use this, make sure you're on the latest client:
You can read more about the pagination behavior and how it works in the docs.
Let me know if that helps or if you run into anything else.