Skip to content

fix: resource messages in method response types generate helpers#629

Merged
software-dov merged 1 commit intogoogleapis:masterfrom
software-dov:resource-response
Sep 30, 2020
Merged

fix: resource messages in method response types generate helpers#629
software-dov merged 1 commit intogoogleapis:masterfrom
software-dov:resource-response

Conversation

@software-dov
Copy link
Contributor

Some resource messages are only referenced in method responses, either
directly (the method returns a resource) or indirectly (the resource
is a field for some other message).
These response-resources now generate helper methods in client
classes.

Contains a minor formatting fix in the generated output, a minor fix
in an error message, and a tweak to nox.py to aid interactive debugging.

Closes #624

Some resource messages are only referenced in method responses, either
directly (the method returns a resource) or indirectly (the resource
is a field for some other message).
These response-resources now generate helper methods in client
classes.

Contains a minor formatting fix in the generated output, a minor fix
in an error message, and a tweak to nox.py to aid interactive debugging.
@software-dov software-dov requested a review from a team as a code owner September 30, 2020 20:15
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 30, 2020
@codecov
Copy link

codecov bot commented Sep 30, 2020

Codecov Report

Merging #629 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #629   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines         1537      1537           
  Branches       310       310           
=========================================
  Hits          1537      1537           
Impacted Files Coverage Δ
gapic/schema/api.py 100.00% <ø> (ø)
gapic/schema/wrappers.py 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 57c0423...efccc55. Read the comment docs.

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.

Add resource helper methods for resources referenced in response messages

3 participants