GeezerVison is showing github.com — fix: Fix timeout default values by vam-google · Pull Request #1480 · googleapis/gapic-generator-python
This repository was archived by the owner on Aug 25, 2026. It is now read-only.
Conversation
vam-google
commented
Oct 27, 2022
•
edited by parthea
Loading
Uh oh!
There was an error while loading. Please reload this page.
Also fix LRO for REST transport. This PR makes generated gapics appreciate timeout values from grpc_service_config.json instead of overriding them with None (which means no timeout)
It is basically a direct fix for #1477.
This PR depends on googleapis/python-api-core#462, and expects setup.py.j2 templates to be updated after googleapis/python-api-core#462 gets pushed and released with new version.
BEGIN_COMMIT_OVERRIDE
fix: Fix timeout default values
fix(deps): require google-api-core >=1.34.0, >=2.11.0
END_COMMIT_OVERRIDE
Fixes #1477.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Also fix LRO for REST transport. This PR makes generated gapics appeciate timeout values from grpc_service_config.json instead of overriding them with None (which means no timeout)
It is basically a direct fix for googleapis#1477.
This PR depends on googleapis/python-api-core#462, and expects `setup.py.j2` templates to be updated after googleapis/python-api-core#462 gets pushed and released with new version.
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.
the default looks correct, but maybe you want to use type-extensions to narrow the type annotation to a Literal instead of object?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
vchudnov-g
Awaiting requested review from vchudnov-g
2 more reviewers
parthea
parthea approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size: l
Pull request size is large.
Milestone
No milestone
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.