liferoad commented on code in PR #26290:
URL: https://github.com/apache/beam/pull/26290#discussion_r1227278696


##########
sdks/python/apache_beam/typehints/typecheck.py:
##########
@@ -146,9 +148,16 @@ def _type_check_result(self, transform_results):
       return transform_results
 
     def type_check_output(o):
-      # TODO(robertwb): Multi-output.
-      x = o.value if isinstance(o, (TaggedOutput, WindowedValue)) else o
-      self.type_check(self._output_type_hint, x, is_input=False)
+      if isinstance(o, TimestampedValue) and hasattr(o, "__orig_class__"):

Review Comment:
   Done.



-- 
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