gapic-generator-python icon indicating copy to clipboard operation
gapic-generator-python copied to clipboard

investigate if proto-plus to protobuf response conversion is needed for a streaming response.

Open ohmayr opened this issue 1 year ago • 0 comments

For a proto plus method, we do the following type conversion for a non-streaming response:

pb_resp = {{method.output.ident}}.pb(resp)

We need to investigate if this is needed for a streaming response for both sync and async REST.

Related PR: https://github.com/googleapis/gapic-generator-python/pull/1428

ohmayr avatar Sep 20 '24 21:09 ohmayr