Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Limit data fetched for SO-Rad to a specific count #6

Open
whatnick opened this issue Feb 7, 2024 · 1 comment
Open
Assignees

Comments

@whatnick
Copy link

whatnick commented Feb 7, 2024

Background:

Some runtimes (like AWS Lambda) are time limited in their execution for client code. To perform data ETL for SO-RAD from these runtimes it is necessary to page the client side and be able to control the number of results and quit before all data is fetched and resume from a bookmark at a later time.

Current behaviour:

All data is collated into a list and returned from the results API even when count is set to a fixed number.

Expect behaviour:

Count or an additional parameter send to the get_wfs function allows paging and returns a fixed number of results to allow higher level code to perform paging outside the library as discussed in the background.

@StefanSimis
Copy link
Contributor

thanks for the suggestion, definitely worth looking at.
No current timeframe for this I'm afraid, but pull requests also welcome.

@StefanSimis StefanSimis self-assigned this Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants