beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-5324) Finish Python 3 porting for unpackaged files
Date Wed, 19 Sep 2018 02:40:00 GMT


ASF GitHub Bot logged work on BEAM-5324:

                Author: ASF GitHub Bot
            Created on: 19/Sep/18 02:39
            Start Date: 19/Sep/18 02:39
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on a change in pull request #6424: [BEAM-5324]
Partially port unpackaged modules to Python 3

 File path: sdks/python/apache_beam/runners/worker/
 @@ -496,7 +496,8 @@ def __init__(self, name_context, spec, counter_factory, state_sampler):
     fn, args, kwargs = pickler.loads(self.spec.combine_fn)[:3]
     self.combine_fn = curry_combine_fn(fn, args, kwargs)
     if (getattr(fn.add_input, 'im_func', None)
-        is core.CombineFn.add_input.__func__):
+        is getattr(core.CombineFn.add_input, '__func__',
 Review comment:
   Thanks for the explanation. Upon a closer look at this code, I think the whole `if` section
is legacy code and should be removed.

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:

Issue Time Tracking

    Worklog Id:     (was: 145552)
    Time Spent: 50m  (was: 40m)

> Finish Python 3 porting for unpackaged files
> --------------------------------------------
>                 Key: BEAM-5324
>                 URL:
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Robbe
>            Assignee: Robbe
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h

This message was sent by Atlassian JIRA

View raw message