chadrik commented on a change in pull request #12881:
URL: https://github.com/apache/beam/pull/12881#discussion_r491598497



##########
File path: sdks/python/apache_beam/runners/worker/bundle_processor.py
##########
@@ -947,11 +955,11 @@ def process_bundle(self, instruction_id):
       # (transform_id, timer_family_id).
       data_channels = collections.defaultdict(
           list
-      )  # type: DefaultDict[data_plane.GrpcClientDataChannel, List[str]]
+      )  # type: DefaultDict[data_plane.GrpcClientDataChannel, List[Union[str, 
Tuple[str, str]]]]

Review comment:
       This can in fact contain items which are `Tuple[str, str]`.  see:
   
   ```python
           data_channels[self.timer_data_channel].extend(
               list(self.timers_info.keys()))
   ```
   




----------------------------------------------------------------
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:
[email protected]


Reply via email to