claudevdm commented on code in PR #37248:
URL: https://github.com/apache/beam/pull/37248#discussion_r2687388349


##########
sdks/python/apache_beam/typehints/native_type_compatibility.py:
##########
@@ -95,7 +95,7 @@ def _get_args(typ):
     A tuple of args.
   """
   try:
-    if typ.__args__ is None:
+    if typ.__args__ is None or not isinstance(typ.__args__, tuple):

Review Comment:
   When will isinstance(typ.__args__, tuple) be true?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to