Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tweak oneof detection #505

Merged
merged 4 commits into from
Jul 10, 2020

Conversation

software-dov
Copy link
Contributor

Oneof detection and assignment to fields is tricky.
This patch fixes detection of oneof fields,
fixes uses in generated clients
and tweaks generated tests to use them correctly.

Oneof detection and assignment to fields is tricky.
This patch fixes detection of oneof fields,
fixes uses in generated clients
and tweaks generated tests to use them correctly.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 9, 2020
@software-dov software-dov changed the title fix: Fix oneof detection fix: tweak oneof detection Jul 9, 2020
gapic/schema/api.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 9, 2020

Codecov Report

Merging #505 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #505   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines         1487      1502   +15     
  Branches       303       308    +5     
=========================================
+ Hits          1487      1502   +15     
Impacted Files Coverage Δ
gapic/schema/api.py 100.00% <100.00%> (ø)
gapic/schema/wrappers.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ffccce7...039ecba. Read the comment docs.

@software-dov software-dov merged commit 1632e25 into googleapis:master Jul 10, 2020
@software-dov software-dov deleted the oneof-fix-hack branch July 10, 2020 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants