| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3f374685-8b2e-018c-2735-75c5620b5b62 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 907A:153FD3:27283F5:355766B:6A53ABD7 |
| html-safe-nonce | 2f68a76738b43289227b9d63a95090b623756720e5ab58104202393ab1322c63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDdBOjE1M0ZEMzoyNzI4M0Y1OjM1NTc2NkI6NkE1M0FCRDciLCJ2aXNpdG9yX2lkIjoiNTQ2NjE5MDU5MDA0Njg3NDU4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1bcc184c85f3cae201fc2dace04d51a2e17f30a95bbdf37fb2070aae3f952511 |
| hovercard-subject-tag | pull_request:614466090 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/python-pubsub/374/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f7a59d10fc05ff74c6c708eb9711e7e810d1c177d620cc974566b95b4fc004ce/googleapis/python-pubsub/pull/374 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7a59d10fc05ff74c6c708eb9711e7e810d1c177d620cc974566b95b4fc004ce/googleapis/python-pubsub/pull/374 |
| og:image:alt | Closes #368.
After studying the as_completed() code from the standard library, it actually seemed easier to modify our futures implementation, as opposed to writing our own as_completed() logic, wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | plamut |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992581 |
| octolytics-dimension-repository_nwo | googleapis/python-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992581 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-pubsub |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/googleapis/python-pubsub/pull/374#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-pubsub%2Fpull%2F374 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-pubsub%2Fpull%2F374 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fpython-pubsub |
| Reload | https://github.com/googleapis/python-pubsub/pull/374 |
| Reload | https://github.com/googleapis/python-pubsub/pull/374 |
| Reload | https://github.com/googleapis/python-pubsub/pull/374 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
|
googleapis
| https://github.com/googleapis |
| python-pubsub | https://github.com/googleapis/python-pubsub |
|
Notifications
| https://github.com/login?return_to=%2Fgoogleapis%2Fpython-pubsub |
|
Fork
214
| https://github.com/login?return_to=%2Fgoogleapis%2Fpython-pubsub |
|
Star
430
| https://github.com/login?return_to=%2Fgoogleapis%2Fpython-pubsub |
|
Code
| https://github.com/googleapis/python-pubsub |
|
Issues
0
| https://github.com/googleapis/python-pubsub/issues |
|
Pull requests
0
| https://github.com/googleapis/python-pubsub/pulls |
|
Actions
| https://github.com/googleapis/python-pubsub/actions |
|
Projects
| https://github.com/googleapis/python-pubsub/projects |
|
Security and quality
0
| https://github.com/googleapis/python-pubsub/security |
|
Insights
| https://github.com/googleapis/python-pubsub/pulse |
|
Code
| https://github.com/googleapis/python-pubsub |
|
Issues
| https://github.com/googleapis/python-pubsub/issues |
|
Pull requests
| https://github.com/googleapis/python-pubsub/pulls |
|
Actions
| https://github.com/googleapis/python-pubsub/actions |
|
Projects
| https://github.com/googleapis/python-pubsub/projects |
|
Security and quality
| https://github.com/googleapis/python-pubsub/security |
|
Insights
| https://github.com/googleapis/python-pubsub/pulse |
| plamut | https://github.com/plamut |
| googleapis:master | https://github.com/googleapis/python-pubsub/tree/master |
| plamut:iss-368 | https://github.com/plamut/python-pubsub/tree/iss-368 |
| Conversation | https://github.com/googleapis/python-pubsub/pull/374 |
| Commits3 (3) | https://github.com/googleapis/python-pubsub/pull/374/commits |
| Checks | https://github.com/googleapis/python-pubsub/pull/374/checks |
| Files changed | https://github.com/googleapis/python-pubsub/pull/374/files |
| feat: make publish futures compatible with concurrent.futures.as_completed() | https://github.com/googleapis/python-pubsub/pull/374#top |
| plamut | https://github.com/plamut |
| googleapis:master | https://github.com/googleapis/python-pubsub/tree/master |
| plamut:iss-368 | https://github.com/plamut/python-pubsub/tree/iss-368 |
|
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Apr 13, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issue-856969475 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| #368 | https://github.com/googleapis/python-pubsub/issues/368 |
| as_completed() | https://github.com/python/cpython/blob/15ad30d88fead718b7eeff8c54454b82753d520e/Lib/concurrent/futures/_base.py#L201-L261 |
| blame | https://github.com/python/cpython/blame/57873af35aad98c6428b1718aaee4b16a82ea3f5/Lib/concurrent/futures/_base.py |
| bug/issue | https://github.com/googleapis/python-pubsub/issues/new/choose |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/apps/product-auto-label |
| product-auto-label | https://github.com/apps/product-auto-label |
|
api: pubsub
| https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22 |
| Apr 13, 2021 | https://github.com/googleapis/python-pubsub/pull/374#event-4588114565 |
| https://github.com/apps/google-cla |
| google-cla | https://github.com/apps/google-cla |
|
cla: yes
| https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22 |
| Apr 13, 2021 | https://github.com/googleapis/python-pubsub/pull/374#event-4588116057 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
Apr 13, 2021
| https://github.com/googleapis/python-pubsub/pull/374#pullrequestreview-634600000 |
|
View reviewed changes
| https://github.com/googleapis/python-pubsub/pull/374/files |
| google/cloud/pubsub_v1/futures.py | https://github.com/googleapis/python-pubsub/pull/374/files#diff-556b13f04b45eb74797570df3d51333f537bcee097bab1a7dd8172551a2af303 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| pradn | https://github.com/pradn |
| April 13, 2021 17:51 | https://github.com/googleapis/python-pubsub/pull/374#event-4589494967 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Apr 13, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-818931676 |
| @pradn | https://github.com/pradn |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/pradn |
| pradn | https://github.com/pradn |
| Apr 13, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-818972150 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| plamut | https://github.com/plamut |
| April 14, 2021 12:14 | https://github.com/googleapis/python-pubsub/pull/374#commits-pushed-a3d4e5e |
|
| https://github.com/plamut |
| feat: make futures compatible with as_completed() | https://github.com/googleapis/python-pubsub/pull/374/commits/a3d4e5e7b15d3ac6673fb42873d47ffba6b4774c |
| a3d4e5e | https://github.com/googleapis/python-pubsub/pull/374/commits/a3d4e5e7b15d3ac6673fb42873d47ffba6b4774c |
|
| https://github.com/plamut |
| Remove duplicate code from publisher future | https://github.com/googleapis/python-pubsub/pull/374/commits/8d2be8a8377b7bff65fd441035084f35436e3d6b |
| 8d2be8a | https://github.com/googleapis/python-pubsub/pull/374/commits/8d2be8a8377b7bff65fd441035084f35436e3d6b |
|
| https://github.com/plamut |
| Add compatibility test with built-in as_completed | https://github.com/googleapis/python-pubsub/pull/374/commits/1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
| 1b6ac56 | https://github.com/googleapis/python-pubsub/pull/374/commits/1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| force-pushed | https://github.com/googleapis/python-pubsub/compare/0705698eba51e1771d09643a9f6cef9d53bbbf4b..1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
| 0705698 | https://github.com/googleapis/python-pubsub/commit/0705698eba51e1771d09643a9f6cef9d53bbbf4b |
| 1b6ac56 | https://github.com/googleapis/python-pubsub/commit/1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
|
Compare
| https://github.com/googleapis/python-pubsub/compare/0705698eba51e1771d09643a9f6cef9d53bbbf4b..1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
| April 14, 2021 10:15 | https://github.com/googleapis/python-pubsub/pull/374#event-4592735966 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| April 14, 2021 10:16 | https://github.com/googleapis/python-pubsub/pull/374#event-4592739978 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| April 14, 2021 10:16 | https://github.com/googleapis/python-pubsub/pull/374#event-4592739996 |
| https://github.com/pradn |
| pradn | https://github.com/pradn |
|
Apr 21, 2021
| https://github.com/googleapis/python-pubsub/pull/374#pullrequestreview-641617125 |
|
View reviewed changes
| https://github.com/googleapis/python-pubsub/pull/374/files/1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
| google/cloud/pubsub_v1/futures.py | https://github.com/googleapis/python-pubsub/pull/374/files/1b6ac567c10c6e412f6d23fab1ba3225ed64d87b#diff-556b13f04b45eb74797570df3d51333f537bcee097bab1a7dd8172551a2af303 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/pradn |
| pradn | https://github.com/pradn |
| Apr 21, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-824418383 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Apr 22, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-824897555 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/pradn |
| pradn | https://github.com/pradn |
|
Apr 22, 2021
| https://github.com/googleapis/python-pubsub/pull/374#pullrequestreview-642292795 |
|
View reviewed changes
| https://github.com/googleapis/python-pubsub/pull/374/files/1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
| https://github.com/pradn |
| pradn | https://github.com/pradn |
| Apr 22, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-824904925 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Apr 22, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-824911030 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| @jimfulton | https://github.com/jimfulton |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| pradn | https://github.com/pradn |
| stale review | https://github.com/googleapis/python-pubsub/pull/374#pullrequestreview-642292795 |
| April 22, 2021 17:55 | https://github.com/googleapis/python-pubsub/pull/374#event-4632520915 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| Apr 22, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-825066605 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| @dpcollins-google | https://github.com/dpcollins-google |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
do not merge
| https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22do%20not%20merge%22 |
| Apr 22, 2021 | https://github.com/googleapis/python-pubsub/pull/374#event-4632562280 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
|
Apr 26, 2021
| https://github.com/googleapis/python-pubsub/pull/374#ref-pullrequest-867750885 |
|
feat: make publish futures compatible with concurrent.futures.as_completed()
#397
| https://github.com/googleapis/python-pubsub/pull/397 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| May 15, 2021 | https://github.com/googleapis/python-pubsub/pull/374#issuecomment-841666347 |
| #397 | https://github.com/googleapis/python-pubsub/pull/397 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
| https://github.com/plamut |
| plamut | https://github.com/plamut |
| May 15, 2021 | https://github.com/googleapis/python-pubsub/pull/374#event-4750023284 |
| https://github.co/hiddenchars |
| https://github.com/googleapis/python-pubsub/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-pubsub%2Fpull%2F374 |
|
| https://github.com/pradn |
|
pradn
| https://github.com/pradn |
|
| https://github.com/googleapis/python-pubsub/pull/374/files/1b6ac567c10c6e412f6d23fab1ba3225ed64d87b |
|
api: pubsub
| https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22api%3A%20pubsub%22 |
|
cla: yes
| https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22 |
|
do not merge
| https://github.com/googleapis/python-pubsub/issues?q=state%3Aopen%20label%3A%22do%20not%20merge%22 |
|
Make publish futures compatible with concurrent.futures.as_completed()
| https://github.com/googleapis/python-pubsub/issues/368 |
| Please reload this page | https://github.com/googleapis/python-pubsub/pull/374 |
|
| https://github.com/plamut |
|
| https://github.com/pradn |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |