Skip to content

Commit c42e3e6

Browse files
asasvarixrmx
andauthored
Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Co-authored-by: Riccardo Magliocchetti <[email protected]>
1 parent 70e2302 commit c42e3e6

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/resources

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def __hash__(self) -> int:
282282
)
283283

284284
def to_json(self, indent: int = 4) -> str:
285-
attributes = dict(self._attributes) # type: ignore
285+
attributes: MutableMapping[str, types.AttributeValue] = dict(self._attributes)
286286
return dumps(
287287
{
288288
"attributes": attributes, # type: ignore

0 commit comments

Comments
 (0)