beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (BEAM-4006) Futurize and fix python 2 compatibility for transforms subpackage
Date Wed, 04 Jul 2018 10:46:00 GMT

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

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
URL: https://github.com/apache/beam/pull/5729#discussion_r200085113
 
 

 ##########
 File path: sdks/python/apache_beam/pipeline_test.py
 ##########
 @@ -520,11 +520,11 @@ def test_dir(self):
     options = Breakfast()
     self.assertEquals(
         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/display.py.

   
   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 display.py 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:
users@infra.apache.org


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: https://issues.apache.org/jira/browse/BEAM-4006
>             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
(v7.6.3#76005)

Mime
View raw message