Skip to content

Conversation

@vam-google
Copy link
Contributor

@vam-google vam-google commented Oct 27, 2022

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.

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.
@vam-google vam-google requested review from a team as code owners October 27, 2022 02:49
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Oct 27, 2022
@vam-google
Copy link
Contributor Author

@igorbernstein2 PTAL

Copy link

@igorbernstein2 igorbernstein2 left a 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?

@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Dec 5, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Dec 5, 2022
@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Dec 5, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Dec 5, 2022
@parthea parthea merged commit 6de9e28 into googleapis:main Dec 5, 2022
@parthea parthea added the release-please:force-run To run release-please label Dec 5, 2022
@release-please release-please bot removed the release-please:force-run To run release-please label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing default deadlines in generated stubs

3 participants