-
Notifications
You must be signed in to change notification settings - Fork 645
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
Pagination generator with non-default per_page #405
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently if you request `xxx.list(as_list=False, per_page=100) you end up getting a list instead of the generator.
I think the logic in in http_list needs some rework.
Perhaps just removing the
'per_page' in kwargs
condition from hereI should be able to specify something like...
... and still get a generator. Then I can hook it up to a progress bar like:
The above code generates the following error:
Today if I want to use the generator function I have to leave the
per_page
off and get them only 20 at a time; this makes it much slower.The text was updated successfully, but these errors were encountered: