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

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

                Author: ASF GitHub Bot
            Created on: 26/Jul/18 00:13
            Start Date: 26/Jul/18 00:13
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on a change in pull request #5916: 
[BEAM-4751] fix missing pylint3 check for io subpackage
URL: https://github.com/apache/beam/pull/5916#discussion_r205289077
 
 

 ##########
 File path: sdks/python/apache_beam/io/gcp/pubsub.py
 ##########
 @@ -77,6 +77,9 @@ def __eq__(self, other):
         self.payload == other.payload and
         self.attributes == other.attributes)
 
+  def __hash__(self):
+    return hash((type(self), self.payload, self.attributes))
 
 Review comment:
   Let's simplify this to `hash(self.payload)`.

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

> Finish io futurize stage 2: fix the missing pylint3 check in tox.ini
> --------------------------------------------------------------------
>
>                 Key: BEAM-4751
>                 URL: https://issues.apache.org/jira/browse/BEAM-4751
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Matthias Feys
>            Assignee: Matthias Feys
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Finish io futurize stage 2: fix the missing pylint3 check in tox.ini



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

Reply via email to