Skip to content

Commit 194df86

Browse files
committed
fix(types): more 3.8 compatible type aliases
1 parent 19c81b7 commit 194df86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

otlp_json.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
from opentelemetry.sdk.util.instrumentation import InstrumentationScope
1212
from opentelemetry.trace.status import Status
1313

14-
_LEAF_VALUE: TypeAlias = str | int | float | bool # TODO: confirm
15-
_VALUE: TypeAlias = _LEAF_VALUE | Sequence[_LEAF_VALUE]
14+
_LEAF_VALUE: TypeAlias = "str | int | float | bool" # TODO: confirm
15+
_VALUE: TypeAlias = "_LEAF_VALUE | Sequence[_LEAF_VALUE]"
1616

1717

1818
CONTENT_TYPE = "application/json"

0 commit comments

Comments
 (0)