Uh oh!
There was an error while loading. Please reload this page.
Making max_results part of the base Iterator class. - #2490
Conversation
| except StopIteration: | ||
| item = self._update_items() | ||
| self.num_results += 1 | ||
| return item |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dhermes
commented
Oct 4, 2016
I'm very open to suggestions on other unit / system tests I could add to this PR. Just wanted to get it out there for discussion's sake. |
In the process, also making sure to lower maxResults on subsequent requests. Fixesgoogleapis#1467.
tseaver
commented
Oct 4, 2016
I would've thought changing to use |
dhermes
commented
Oct 4, 2016
Making max_results part of the base Iterator class.
Fixes internal issue 489454080🦕
In the process, also making sure to lower
maxResultson subsequent requests.Fixes#1467.