FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Make note of num_results property on iterators by bendemaree · Pull Request #2944 · googleapis/google-cloud-python · GitHub

Make note of num_results property on iterators - #2944

Merged
daspecster merged 2 commits into
googleapis:masterfrom
bendemaree:document-num-results
Jan 18, 2017
Merged

Make note of num_results property on iterators#2944
daspecster merged 2 commits into
googleapis:masterfrom
bendemaree:document-num-results

Conversation

Copy link
Copy Markdown

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

googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 18, 2017
Comment thread core/google/cloud/iterator.py Outdated
``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.

Copy link
Copy Markdown
Contributor

Thanks @bendemaree!

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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL