rohdesamuel commented on code in PR #27280:
URL: https://github.com/apache/beam/pull/27280#discussion_r1245537151
##########
sdks/python/apache_beam/runners/worker/bundle_processor.py:
##########
@@ -1181,10 +1182,17 @@ def shutdown(self):
op.teardown()
-class ExecutionContext(object):
- def __init__(self):
- self.delayed_applications = [
- ] # type: List[Tuple[operations.DoOperation, common.SplitResultResidual]]
+@dataclass
+class ExecutionContext:
+ # Any splits to be processed later.
+ delayed_applications = [
+ ] # type: List[Tuple[operations.DoOperation, common.SplitResultResidual]]
Review Comment:
TODO: change this to a py3 type annotation
--
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]