You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/12/01 23:50:30 UTC

[GitHub] [beam] boyuanzz commented on a change in pull request #13421: [BEAM-9602] Add timer family support for python SDK

boyuanzz commented on a change in pull request #13421:
URL: https://github.com/apache/beam/pull/13421#discussion_r533796311



##########
File path: sdks/python/apache_beam/transforms/userstate.py
##########
@@ -188,15 +190,14 @@ def to_runner_api(self, context, key_coder, window_coder):
 class TimerFamilySpec(object):

Review comment:
       You may want to remove the TODO there.

##########
File path: sdks/python/apache_beam/runners/worker/bundle_processor.py
##########
@@ -643,15 +643,16 @@ def commit(self):
 
 class OutputTimer(userstate.BaseTimer):
   def __init__(self,
+               dynamic_timer_tag,  # type: str
                key,
-               window,  # type: windowed_value.BoundedWindow
+               window,  # type: BoundedWindow
                timestamp,  # type: timestamp.Timestamp
                paneinfo,  # type: windowed_value.PaneInfo
                time_domain, # type: str
                timer_family_id,  # type: str
                timer_coder_impl,  # type: coder_impl.TimerCoderImpl
-               output_stream  # type: data_plane.ClosableOutputStream
-              ):
+               output_stream,  # type: data_plane.ClosableOutputStream

Review comment:
       Unnecessary comma?




----------------------------------------------------------------
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:
users@infra.apache.org