Skip to content

Commit

Permalink
Update proto/marshal/marshal.py
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
  • Loading branch information
parthea and vchudnov-g committed May 31, 2024
1 parent 7541099 commit a691423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto/marshal/marshal.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def to_python(self, proto_type, value, *, absent: bool = None):
# See https://github.com/protocolbuffers/protobuf/issues/16596
# We need to look up the name of the type in compat.map_composite_type_names
# as class `MessageMapContainer` is no longer exposed
# This is done to avoid taking a breaking change in proto-plus
# This is done to avoid taking a breaking change in proto-plus.
if (
value_type in compat.map_composite_types
or value_type.__name__ in compat.map_composite_type_names
Expand Down

0 comments on commit a691423

Please sign in to comment.