Messages with 'protobuf.Any' fields fail round trip dict construction #285
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
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.The text was updated successfully, but these errors were encountered: