We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32ce848 commit 2801745Copy full SHA for 2801745
opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
@@ -234,8 +234,8 @@ def __eq__(self, other: object) -> bool:
234
)
235
236
def __hash__(self):
237
- return hash(dumps(self._attributes, sort_keys=True)) + 31 * hash(
238
- self._schema_url
+ return hash(
+ dumps(self._attributes, sort_keys=True) + "|" + self._schema_url
239
240
241
0 commit comments