Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
asasvari committed Jul 23, 2024
1 parent 2d0fcc9 commit 071653a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 071653a

Please sign in to comment.