You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2019/05/15 12:54:00 UTC

[jira] [Updated] (BEAM-7127) Timer parameter not supported in timer callback

     [ https://issues.apache.org/jira/browse/BEAM-7127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maximilian Michels updated BEAM-7127:
-------------------------------------
    Status: Open  (was: Triage Needed)

> Timer parameter not supported in timer callback
> -----------------------------------------------
>
>                 Key: BEAM-7127
>                 URL: https://issues.apache.org/jira/browse/BEAM-7127
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-harness
>    Affects Versions: 2.12.0
>            Reporter: Thomas Weise
>            Priority: Major
>              Labels: portability
>
> Referencing the timer in its on_timer callback produces a recursive pickle error.  
> {code:java}
> @userstate.on_timer(timer_spec)
> def process_timer(self, timer_1=beam.DoFn.TimerParam(timer_spec)):
> {code}
> Unit test: [https://github.com/apache/beam/blob/cbe4dfbdbe5d0da5152568853ee5e17334dd1b54/sdks/python/apache_beam/transforms/userstate_test.py#L67] 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)