[ 
https://issues.apache.org/jira/browse/BEAM-4594?focusedWorklogId=116572&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-116572
 ]

ASF GitHub Bot logged work on BEAM-4594:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Jun/18 20:18
            Start Date: 27/Jun/18 20:18
    Worklog Time Spent: 10m 
      Work Description: robertwb commented on a change in pull request #5691: 
[BEAM-4594] Beam Python state and timers user-facing API
URL: https://github.com/apache/beam/pull/5691#discussion_r198615131
 
 

 ##########
 File path: sdks/python/apache_beam/transforms/core.py
 ##########
 @@ -276,6 +278,45 @@ def get_function_arguments(obj, func):
   return inspect.getargspec(f)
 
 
+class _DoFnParam(object):
+  """DoFn parameter."""
+
+  def __repr__(self):
+    return '_DoFnParam(%s)' % self.param_id
+
+  def __eq__(self, other):
+    if type(self) == type(other):
+      return self.param_id == other.param_id
+    return False
+
+
+class _BuiltinDoFnParam(_DoFnParam):
 
 Review comment:
   Not quite understanding what "Builtin" means here. Maybe "Stateless" would 
be a better adjective?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 116572)
    Time Spent: 1h 20m  (was: 1h 10m)

> Implement Beam Python User State and Timer API
> ----------------------------------------------
>
>                 Key: BEAM-4594
>                 URL: https://issues.apache.org/jira/browse/BEAM-4594
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Charles Chen
>            Assignee: Charles Chen
>            Priority: Major
>              Labels: portability
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> This issue tracks the implementation of the Beam Python User State and Timer 
> API, described here: [https://s.apache.org/beam-python-user-state-and-timers].



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

Reply via email to