Skip to content

Commit

Permalink
add link to issue
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Mar 15, 2023
1 parent adc7a35 commit 7a921ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proto/marshal/marshal.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def get_rule(self, proto_type):

# If we don't find a rule, also check under `_instances`
# in case there is a rule in another package.
# See https://github.com/googleapis/proto-plus-python/issues/349
if rule == self._noop and hasattr(self, "_instances"):
for _, instance in self._instances.items():
rule = instance._rules.get(proto_type, self._noop)
Expand Down

0 comments on commit 7a921ea

Please sign in to comment.