diff --git a/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py b/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py index 23e7f2c5a5b..8b093f063e5 100644 --- a/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py +++ b/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py @@ -278,8 +278,8 @@ def __eq__(self, other: object) -> bool: def __hash__(self) -> int: return hash( - f"{dumps(self._attributes.copy(), sort_keys=True)}|{self._schema_url}" - ) # type: ignore + f"{dumps(self._attributes.copy(), sort_keys=True)}|{self._schema_url}" # type: ignore + ) def to_json(self, indent: int = 4) -> str: attributes = dict(self._attributes) # type: ignore