GeezerVison is showing github.com — feat(api_core): add retry param into PollingFuture() and it's inheritors by IlyaFaer · Pull Request #9923 · googleapis/google-cloud-python
Conversation
IlyaFaer
commented
Dec 6, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Towards #6197
Looks like it's the last thing that should be done for this issue. CMIIW.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
|
# RPC as it will not change once done.
|
|
|
if not self._operation.done:
|
|
|
self._operation = self._refresh()
|
|
|
self._operation = self._refresh(retry=retry)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding retry into inheritor of the PollingFuture() (the one above) and passing it further. As self._refresh is functools.partial, we can just pass retry as a named arg - it'll be added to those args which were prepared while creating functools.partial
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
IlyaFaer
commented
Dec 6, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Some BigQuery tests failed, but, as I see, they are failing in pure master too. And got an error in Sphinx:
sphinx.errors.SphinxWarning: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://requests.kennethreitz.org/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='requests.kennethreitz.org', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f0555132910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Thanks for your patience in the review.
I'd like an API core owner to sign off as well, such as @busunkim96
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jan 29, 2020
This was referenced Jan 29, 2020
parthea
pushed a commit
that referenced
this pull request
Nov 24, 2025
…ors (#9923)
* feat(api_core): add retry param into PollingFuture() and it's inheritors
Towards #6197
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|