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

Fix Generators to instead use pagination #707

Open
kzscisoft opened this issue Feb 20, 2025 · 0 comments
Open

Fix Generators to instead use pagination #707

kzscisoft opened this issue Feb 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@kzscisoft
Copy link
Collaborator

Currently there is no real benefit to using the generators as the RestAPI call will retrieve all the data and then yield from it in cache. This should be modified to instead use count and index parameters within the RestAPI for cases where a large volume of data may be retrieved, and to then use yield so to the user the retrieval result by result is seamless.

@kzscisoft kzscisoft added the enhancement New feature or request label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant