Open software-dov opened 2 years ago
We are thinking about this issue, which affects multiple languages using protocol buffers over HTTP/JSON. We will continue providing updates, though the issue may not be completely resolved soon.
Note that when this issue is resolved, some corresponding tests in gapic-generator-python
should be re-eneabled (example).
Consider the following snippet:
This fails because the dict representation for
any_pb2.Any
contains metadata thatproto.Message.__init__
andproto.Message.__setattr__
do not know how to handle/ignore properly.This blocks the use of the REST transport for any API method with a request that contains an
any_pb2.Any
fields due to transcoding logic.