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 26ad2c9 commit 4b1a16aCopy full SHA for 4b1a16a
opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
@@ -250,7 +250,7 @@ def merge(self, other: "Resource") -> "Resource":
250
Returns:
251
The newly-created Resource.
252
"""
253
- merged_attributes = dict(self.attributes)
+ merged_attributes = self.attributes.copy()
254
merged_attributes.update(other.attributes)
255
256
if self.schema_url == "":
0 commit comments