tvalentyn commented on a change in pull request #14390:
URL: https://github.com/apache/beam/pull/14390#discussion_r614282791
##########
File path: sdks/python/apache_beam/transforms/environments.py
##########
@@ -257,8 +311,8 @@ def __init__(
(self.container_image))
def __eq__(self, other):
- return self.__class__ == other.__class__ \
- and self.container_image == other.container_image
+ return (
+ super().__eq__(other) and self.container_image ==
other.container_image)
def __hash__(self):
return hash((self.__class__, self.container_image))
Review comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]