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



##########
File path: sdks/python/apache_beam/runners/direct/direct_userstate.py
##########
@@ -225,14 +225,28 @@ def __init__(self, step_context, dofn, key_coder):
 
     self.cached_states = {}
     self.cached_timers = {}
-
-  def get_timer(self, timer_spec, key, window, timestamp, pane):
+    self.cached_timer_families = {}
+
+  def get_timer(
+      self,
+      timer_spec: userstate.TimerSpec,
+      key,
+      window,
+      timestamp,
+      pane,
+      is_timer_family=False

Review comment:
       I thought about that but it seemed too much code duplication.




----------------------------------------------------------------
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