hjtran commented on code in PR #30771:
URL: https://github.com/apache/beam/pull/30771#discussion_r1548824551
##########
sdks/python/apache_beam/testing/util.py:
##########
@@ -261,6 +261,19 @@ def assert_that(
"""
assert isinstance(actual, pvalue.PCollection), (
'%s is not a supported type for Beam assert' % type(actual))
+ pipeline = actual.pipeline
+ if getattr(pipeline, 'result', None) is not None:
Review Comment:
un-changed. I realize now we do actually use it in a following block. I have
removed the `is None` part though
--
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]