[
https://issues.apache.org/jira/browse/BEAM-9602?focusedWorklogId=523256&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-523256
]
ASF GitHub Bot logged work on BEAM-9602:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Dec/20 17:50
Start Date: 11/Dec/20 17:50
Worklog Time Spent: 10m
Work Description: y1chi commented on a change in pull request #13421:
URL: https://github.com/apache/beam/pull/13421#discussion_r541121694
##########
File path:
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py
##########
@@ -493,6 +493,30 @@ def is_buffered_correctly(actual):
assert_that(actual, is_buffered_correctly)
+ def test_pardo_dynamic_timer(self):
+ class DynamicTimerDoFn(beam.DoFn):
+ dynamic_timer_spec = userstate.TimerSpec(
+ 'dynamic_timer', userstate.TimeDomain.WATERMARK)
+
+ def process(
+ self, element,
+ dynamic_timer=beam.DoFn.TimerParam(dynamic_timer_spec)):
+ dynamic_timer.set(element[1], dynamic_timer_tag=element[0])
Review comment:
Done.
##########
File path: sdks/python/scripts/generate_pydoc.sh
##########
@@ -188,6 +188,7 @@ ignore_identifiers = [
# DoFn param inner classes, due to a Sphinx misparsing of inner classes
'_StateDoFnParam',
'_TimerDoFnParam',
+ '_TimerFamilyDoFnParam',
Review comment:
Done.
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 523256)
Time Spent: 3h 40m (was: 3.5h)
> Support Dynamic Timer in Python SDK over FnApi
> ----------------------------------------------
>
> Key: BEAM-9602
> URL: https://issues.apache.org/jira/browse/BEAM-9602
> Project: Beam
> Issue Type: New Feature
> Components: sdk-py-harness
> Reporter: Boyuan Zhang
> Priority: P3
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)