We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3dbf87 commit 45b1f5cCopy full SHA for 45b1f5c
cyclonedx/_internal/compare.py
@@ -86,7 +86,7 @@ def __eq__(self, other):
86
return self._dict == other._dict
87
88
def __hash__(self) -> int:
89
- return hash(tuple(self._dict.items()))
+ return hash(tuple(sorted(self._dict.items())))
90
91
def __repr__(self) -> str:
92
return f'<ComparableDict {self._dict!r}>'
0 commit comments