Skip to content

Commit 879ab21

Browse files
committed
opentelemetry-sdk: keep instrumentation scope attributes as Attributes
1 parent ea6cf00 commit 879ab21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/util/instrumentation.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from deprecated import deprecated
1818

1919
from opentelemetry.attributes import BoundedAttributes
20-
from opentelemetry.util.types import ExtendedAttributes
20+
from opentelemetry.util.types import Attributes
2121

2222

2323
class InstrumentationInfo:
@@ -92,7 +92,7 @@ def __init__(
9292
name: str,
9393
version: Optional[str] = None,
9494
schema_url: Optional[str] = None,
95-
attributes: Optional[ExtendedAttributes] = None,
95+
attributes: Optional[Attributes] = None,
9696
) -> None:
9797
self._name = name
9898
self._version = version
@@ -150,7 +150,7 @@ def name(self) -> str:
150150
return self._name
151151

152152
@property
153-
def attributes(self) -> ExtendedAttributes:
153+
def attributes(self) -> Attributes:
154154
return self._attributes
155155

156156
def to_json(self, indent: Optional[int] = 4) -> str:

0 commit comments

Comments
 (0)