From 1d92b018aa100d810156c76f8bb35e37f5cde860 Mon Sep 17 00:00:00 2001 From: Shunping Huang Date: Fri, 20 Dec 2024 14:39:57 -0500 Subject: [PATCH] Minor change on comments --- sdks/python/apache_beam/coders/coders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/python/apache_beam/coders/coders.py b/sdks/python/apache_beam/coders/coders.py index 980f375c518..969353da1c6 100644 --- a/sdks/python/apache_beam/coders/coders.py +++ b/sdks/python/apache_beam/coders/coders.py @@ -1040,8 +1040,8 @@ def __hash__(self): @classmethod def from_type_hint(cls, typehint, unused_registry): # The typehint must be a subclass of google.protobuf.message.Message. - # Using message.Message itself prevents ProtoCoder usage, as required APIs - # are not implemented in the base class. If this occurs, an error is raised + # ProtoCoder cannot work with message.Message itself, as required APIs are + # not implemented in the base class. If this occurs, an error is raised # and the system defaults to other fallback coders. if (issubclass(typehint, proto_utils.message_types) and typehint != message.Message):