| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| Using the query iterator's | ||
| :meth:`~google.cloud.datastore.query.Iterator.next_page` method: | ||
| Using the query iterator |
|
@dhermes thanks, the same is clear and doesn't make a common use case too difficult. I'm cool with this. |
Sorry, something went wrong.
Removing an unused import and also adding a class-level attribute for ``next_page_token`` which gets set outside of the constructor (Pylint seems to miss the fact that it gets set in the constructor of the base class).
| >>> query_iter.next_page_token is None | ||
| True | ||
|
|
||
| Under the hood this is doing: |
There was a problem hiding this comment.
This LGTM to me as well.
Sorry, something went wrong.
|
Going to merge (waiting waited 24h for other feedback) |
Sorry, something went wrong.
…rator Migrate datastore iterator to use base iterator class
| Back | FazBrowse Home | New Git URL |
I considered
I elected not to make anything new public since the original implementation didn't.
@jonparrott PTAL as well (do you think this will be too jarring a change?).