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 note of num_results property on iterators #2944

Merged
merged 2 commits into from
Jan 18, 2017

Conversation

bendemaree
Copy link

There's no mention of this handy property in the core docs, so I thought I'd add an example of its usage.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 18, 2017
``num_results`` property of the iterator::

>>> my_iterator = Iterator(...)
... for my_item in my_iterator:

This comment was marked as spam.

This comment was marked as spam.

@daspecster
Copy link
Contributor

Thanks @bendemaree!

@daspecster daspecster merged commit e06ec83 into googleapis:master Jan 18, 2017
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
Make note of num_results property on iterators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants