This PR removes the check for google.protobuf.__version__ and simply uses try, catch instead. If there is no attribute MessageMapContainer on _message , then the compatibility code introduced in https://github.com/googleapis/proto-plus-python/pull/433 is used.
This PR removes the check for
google.protobuf.__version__
and simply usestry
,catch
instead. If there is no attributeMessageMapContainer
on_message
, then the compatibility code introduced in https://github.com/googleapis/proto-plus-python/pull/433 is used.