You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kai Jiang (JIRA)" <ji...@apache.org> on 2017/01/10 07:12:58 UTC

[jira] [Commented] (BEAM-519) fileio.CompressionType requires a __ne__ method

    [ https://issues.apache.org/jira/browse/BEAM-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15814156#comment-15814156 ] 

Kai Jiang commented on BEAM-519:
--------------------------------

This has been implemented. https://github.com/apache/beam/blob/81e44b833ce54e44e6506eb028afe8564c46cf18/sdks/python/apache_beam/io/fileio.py#L59

And This issue could be marked as 'RESOLVED'

>  fileio.CompressionType requires a __ne__ method
> ------------------------------------------------
>
>                 Key: BEAM-519
>                 URL: https://issues.apache.org/jira/browse/BEAM-519
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Ahmet Altay
>            Priority: Minor
>              Labels: starter
>
> This code: 
> https://github.com/apache/incubator-beam/blob/python-sdk/sdks/python/apache_beam/io/fileio.py#L279
> Without the __ne__ operator instances of this class cannot be used in != expressions (only ==).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)