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 c42e3e6 commit fb47e31
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 @@ -64,7 +64,7 @@
from json import dumps
from os import environ
from types import ModuleType
from typing import List, Optional, Sequence, Union, cast
from typing import List, MutableMapping, Optional, Sequence, Union, cast
from urllib import parse

from opentelemetry.attributes import BoundedAttributes
Expand Down Expand Up @@ -282,7 +282,7 @@ def __hash__(self) -> int:
)

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

0 comments on commit fb47e31

Please sign in to comment.