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

Make fetch/fetch_all lazy #35

Closed
mkizesov opened this issue Nov 28, 2019 · 1 comment
Closed

Make fetch/fetch_all lazy #35

mkizesov opened this issue Nov 28, 2019 · 1 comment
Labels
enhancement New feature or request To discuss

Comments

@mkizesov
Copy link
Contributor

Sometimes we need to iterate over thousands of entries and I think it will be very useful if we can have fetch_all() as a generator. Now if we call fetch_all for thousands of entries we firstly wait until all entries are fetched.

Consider implementing lazy fetch for searchset iterating.

@mkizesov mkizesov added enhancement New feature or request To discuss labels Nov 28, 2019
mkizesov added a commit that referenced this issue Nov 28, 2019
@mkizesov
Copy link
Contributor Author

Done. But we need to add some tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request To discuss
Projects
None yet
Development

No branches or pull requests

2 participants