Skip to content

Do not paginate through all pages by default #111

@julienr

Description

@julienr

We have a helper function _paginate_through_list that's used in a few of the list_XXX functions like list_rasters, list_detectors. This will end up paginating through all the pages by default.

This feels like a historical default that doesn't make much sense anymore. On an account with 10k rasters, the call could take a long time.

It feels we should expose pagination more explicitely and have the caller go through all pages themselves if they really want to.

That probably means breaking some API, but we can start by just deprecating those functions and replacing them with new ones.

WDYT @ao-picterra ?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions