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

feat: AsyncIO Integration [Part 2] by lidizheng · Pull Request #28 · googleapis/python-api-core · GitHub

This repository was archived by the owner on Feb 23, 2026. It is now read-only.
/ python-api-core Public archive

feat: AsyncIO Integration [Part 2] - #28

Merged
gcf-merge-on-green[bot] merged 4 commits into
googleapis:masterfrom
lidizheng:aio-part-2
Jun 2, 2020
Merged

feat: AsyncIO Integration [Part 2]#28
gcf-merge-on-green[bot] merged 4 commits into
googleapis:masterfrom
lidizheng:aio-part-2

Conversation

lidizheng commented May 18, 2020
edited
Loading

Copy link
Copy Markdown
Contributor

Children PR of #26.

This PR includes AsyncIO version of:

  • Polling future
  • Page iterator

The AsyncIO version of polling future still uses the same mechanism as the sync version. The AsyncIO polling future tries to update its own state whenever the application want to access information or perform actions.

For page iterator, it has similar interface design as sync version. But instead of fulfilling normal generator protocol, it is based on the async generator.

Related #23

googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 18, 2020
lidizheng changed the title AsyncIO Integration [Part 2] feat: AsyncIO Integration [Part 2] May 18, 2020
lidizheng force-pushed the aio-part-2 branch 2 times, most recently from 93a8cb8 to 41cf623 Compare May 18, 2020 21:54
lidizheng marked this pull request as ready for review May 18, 2020 22:11
Comment thread docs/operation.rst Outdated
Comment thread google/api_core/operation_async.py Outdated
Comment thread google/api_core/operation_async.py Outdated

lidizheng left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@busunkim96 Thanks for reviewing! PTALA.

Comment thread docs/operation.rst Outdated
Comment thread google/api_core/operation_async.py Outdated
Comment thread google/api_core/operation_async.py Outdated
* Polling future
* Page iterator
* With unit tests & docs
Comment thread docs/operation.rst Outdated
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>

software-dov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Code looks good, tests look good, just one minor commentary nit.

Comment thread google/api_core/page_iterator_async.py Outdated

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing 👍

busunkim96 added the automerge Merge the pull request once unit tests and other checks pass. label Jun 2, 2020
gcf-merge-on-green Bot merged commit dd9b2f3 into googleapis:master Jun 2, 2020
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jun 4, 2020
busunkim96 mentioned this pull request Jun 17, 2020
4 tasks
This was referenced May 30, 2025
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge the pull request once unit tests and other checks pass. 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