Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apitools/base/protorpclite/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,8 @@ class Order(Message):

"""

__hash__ = object.__hash__

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think hash should be consistent with implementation of __eq__, so that equal messages have equal hashes.


def __init__(self, **kwargs):
"""Initialize internal messages state.

Expand Down