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 rest transport logic by vam-google · Pull Request #1039 · 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 22, 2021

Copy link
Copy Markdown
Contributor

This includes

  1. Do not include asyncio tests in the generated tests, because rest transport does not have asynio client.
  2. Generate body field mock values for generated tests (otherwise grpc transcodding logic would fail).
  3. Make always_use_jwt_access=True default for rest clients (grpc already does that) to match expected calls in generated tests.
  4. Fix mypy errors for AuthorizedSession by ignoring it
  5. Include operations_v1 conditionally, only if the client has lro

There are few more fixes left, which are expected to be fixed in separate PRs:

  1. message->to_dict->message roundrtip problem for int64 types is expected to be fixed by fix: setting 64bit fields from strings supported proto-plus-python#267
  2. builtins conflicts (license_ vs license as field name) is expected to be fixed by a TBD PR

Sorry, something went wrong.

Uh oh!

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

All reactions
@vam-google
fix: Fix rest transport logic
c46d1da
This includes
1) Do not include asyncio tests in the generated tests, because rest transport does not have asynio client.
2) Generate body field mock values for generated tests (otherwise grpc transcodding logic would fail).
3) Make `always_use_jwt_access=True` default for rest clients (grpc already does that) to match expected calls in generated tests.
4) Fix mypy errors for `AuthorizedSession` by ignoring it
5) Include operations_v1 conditionally, only if the client has lro

There are few more fixes left, which are expected to be fixed in separate PRs.

1) `message->to_dict->message` roundrtip problem for int64 types is expected to be fixed by googleapis/proto-plus-python#267
2) builtins conflicts (`license_` vs `license` as field name) is expected to be fixed by a TBD PR
@vam-google
vam-google requested a review from a team October 22, 2021 00:16
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 22, 2021
@vam-google
vam-google requested review from atulep, kbandes and software-dov October 22, 2021 00:17
kbandes
kbandes approved these changes Oct 25, 2021
View reviewed changes
@vam-google
fix integration tests
d06d6f5
atulep
atulep approved these changes Oct 25, 2021
View reviewed changes
busunkim96
busunkim96 approved these changes Oct 25, 2021
View reviewed changes
@vam-google
vam-google merged commit 50d61af into googleapis:master Oct 25, 2021
This was referenced Jan 18, 2022
chore(master): release reverted #1133
Merged
chore(master): release 0.40.0 #1138
Closed
chore(master): release 0.39.1 #1146
Closed
This was referenced Jan 26, 2022
chore(main): release 0.39.1 #1160
Closed
chore(main): release 0.39.1 #1162
Closed
chore(main): release 0.61.0 #1163
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@software-dov software-dov Awaiting requested review from software-dov
3 more reviewers
@kbandes kbandes kbandes approved these changes
@busunkim96 busunkim96 busunkim96 approved these changes
@atulep atulep atulep 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

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

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.

4 participants

@vam-google @kbandes @busunkim96 @atulep
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.