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-4006) Futurize and fix python 2 compatibility for transforms subpackage
Date Wed, 04 Jul 2018 10:46:00 GMT


ASF GitHub Bot logged work on BEAM-4006:

                Author: ASF GitHub Bot
            Created on: 04/Jul/18 10:45
            Start Date: 04/Jul/18 10:45
    Worklog Time Spent: 10m 
      Work Description: Fematich commented on a change in pull request #5729: [BEAM-4006]
Futurize transforms subpackage

 File path: sdks/python/apache_beam/
 @@ -520,11 +520,11 @@ def test_dir(self):
     options = Breakfast()
         set(['from_dictionary', 'get_all_options', 'slices', 'style',
-             'view_as', 'display_data']),
+             'view_as', 'display_data', 'next']),
 Review comment:
   This is because of the import `from builtins import object` in apache_beam/transforms/

   This import adds an alias: 
   `next = __next__` for Python2 and Python3 compatibility.
   PipelineOptions (the tested class in this test) inherits from HasDisplayData class defined
in the module. 

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: 119028)
    Time Spent: 1.5h  (was: 1h 20m)

> Futurize and fix python 2 compatibility for transforms subpackage
> -----------------------------------------------------------------
>                 Key: BEAM-4006
>                 URL:
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Robbe
>            Assignee: Matthias Feys
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h

This message was sent by Atlassian JIRA

View raw message