Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

__aiter__() doesn't await next_page() #14

Closed
txomon opened this issue Nov 15, 2016 · 2 comments
Closed

__aiter__() doesn't await next_page() #14

txomon opened this issue Nov 15, 2016 · 2 comments

Comments

@txomon
Copy link

txomon commented Nov 15, 2016

I may be wrong, but shouldn't __aiter__() await next_page()?

return self.next_page()

@lsbardel
Copy link
Member

You are right I think, that code is not covered by tests either.
This needs to be tested.

@lsbardel
Copy link
Member

Tested and fixed it. Thanks for reporting

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants