Skip to content

Commit ac0fc88

Browse files
committed
Add immutable back..
1 parent 1043698 commit ac0fc88

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • opentelemetry-api/src/opentelemetry/attributes

opentelemetry-api/src/opentelemetry/attributes/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def __init__(
144144
| OrderedDict[str, types.AnyValue]
145145
) = {}
146146
self._lock = threading.Lock()
147+
self._immutable = False
147148
if attributes:
148149
for key, value in attributes.items():
149150
self[key] = value

0 commit comments

Comments
 (0)