Skip to content

Commit

Permalink
Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
  • Loading branch information
asasvari and xrmx authored Jul 23, 2024
1 parent 70e2302 commit c42e3e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def __hash__(self) -> int:
)

def to_json(self, indent: int = 4) -> str:
attributes = dict(self._attributes) # type: ignore
attributes: MutableMapping[str, types.AttributeValue] = dict(self._attributes)
return dumps(
{
"attributes": attributes, # type: ignore
Expand Down

0 comments on commit c42e3e6

Please sign in to comment.