GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@vam-google vam-google commented Oct 27, 2022 •
edited by parthea
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@vam-google
fix: Fix timeout default values
a2e3e8e
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 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
vam-google requested review from parthea and vchudnov-g October 27, 2022 02:50
@vam-google

vam-google commented Oct 27, 2022

Copy link
Copy Markdown
Contributor Author

@igorbernstein2 PTAL

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

igorbernstein2
igorbernstein2 reviewed Oct 28, 2022
View reviewed changes

@igorbernstein2 igorbernstein2 left a comment

Copy link
Copy Markdown

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.

All reactions
vam-google and others added 10 commits November 8, 2022 15:45
@vam-google
rename uri_prefix to path_prefix to match corresponding python-api-co…
e84d3d6
…re change
@parthea
Merge remote-tracking branch 'origin/main'
bda2bda
@vam-google
fix unnecessary gapic_v1.method.DEFAULT in rest stubs
ee1554f
@vam-google
Merge branch 'master' of github.com:vam-google/gapic-generator-python
885c113
@parthea
Merge branch 'main' into master
e50b3b9
@parthea
fix(deps): require google-api-core >=1.34.0
a96f6f6
@parthea
fix(deps): require google-api-core >=2.11.0
c34a845
@parthea
Merge branch 'main' into master
72b8822
@parthea
revert changes to WORKSPACE
8f15ba1
@parthea
fix typo
0466de1
@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 added 2 commits December 5, 2022 20:04
@parthea
fix mypy error
cdb8c74
@parthea
revert local change for debugging
6a75159
@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 approved these changes Dec 5, 2022
View reviewed changes
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@vchudnov-g vchudnov-g Awaiting requested review from vchudnov-g
2 more reviewers
@igorbernstein2 igorbernstein2 igorbernstein2 left review comments
@parthea 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.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Missing default deadlines in generated stubs

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@vam-google @parthea @igorbernstein2
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.