We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e2302 commit c42e3e6Copy full SHA for c42e3e6
opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
@@ -282,7 +282,7 @@ def __hash__(self) -> int:
282
)
283
284
def to_json(self, indent: int = 4) -> str:
285
- attributes = dict(self._attributes) # type: ignore
+ attributes: MutableMapping[str, types.AttributeValue] = dict(self._attributes)
286
return dumps(
287
{
288
"attributes": attributes, # type: ignore
0 commit comments