Skip to content

Commit ea930a3

Browse files
committed
Make __hash__ None for class Message
1 parent 0ace821 commit ea930a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

apitools/base/protorpclite/messages.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,8 @@ class Order(Message):
758758
759759
"""
760760

761+
__hash__ = None
762+
761763
def __init__(self, **kwargs):
762764
"""Initialize internal messages state.
763765
@@ -1058,10 +1060,6 @@ def __ne__(self, other):
10581060
"""
10591061
return not self.__eq__(other)
10601062

1061-
def __hash__(self):
1062-
"""Hash by __tags"""
1063-
return hash(self.__tags)
1064-
10651063

10661064
class FieldList(list):
10671065
"""List implementation that validates field values.

0 commit comments

Comments
 (0)