saavannanavati commented on a change in pull request #12352: URL: https://github.com/apache/beam/pull/12352#discussion_r466191135
########## File path: sdks/python/apache_beam/runners/worker/bundle_processor.py ########## @@ -188,7 +188,8 @@ def __init__(self, self.name_context.step_name, 0, next(iter(itervalues(consumers))), - self.windowed_coder) + self.windowed_coder, + self) Review comment: Okay, I refactored it to pass only the necessary data. Also, I thought self was just a reference to the class instance so it wouldn't be expensive to pass it around - is this not the case? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org