Skip to content

Conversation

vam-google
Copy link
Contributor

This includes:

  1. Fix test logic for grpc+rest case, when clients with both transports need to be initialized in parametrized tests
  2. Fix 100% coverage problem for rest clients, when the http error (>= 400 error code) case logic was not covered.

This should conclude the rest transport related fixes (for the time being at least)

This includes:
1) Fix test logic for grpc+rest case, when clients with both transports need to be initialized in parametrized tests
2) Fix 100% coverage problem for rest clients, when the http error (>= 400 error code) case logic was not covered.
@vam-google vam-google requested a review from a team as a code owner October 29, 2021 00:16
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 29, 2021
Copy link
Contributor

@busunkim96 busunkim96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One non-blocking question, otherwise LGTM.

{% endif %}
{% endfor %}
request = request_type(request_init)
{% if method.client_streaming %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is streaming supported for the rest transport?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet; that is intended to be part of next sprint. Currently it just raises NotImplemented.

Copy link
Contributor

@software-dov software-dov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just one question: how the hell did you get around the transport __call__ patch problem? I had to do this massive rewrite of the rest layer, but you seem to have avoided it.

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.

4 participants