Skip to content

Commit e9426eb

Browse files
committed
Add typealias
1 parent f32c0d8 commit e9426eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/utils/telemetry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ def internal_method(self):
5858
import logging
5959

6060
from collections.abc import Callable
61-
from typing import Any
61+
from typing import Any, TypeAlias
6262

6363
from opentelemetry import trace
6464
from opentelemetry.trace import SpanKind as _SpanKind
6565
from opentelemetry.trace import StatusCode
6666

6767

68-
SpanKind = _SpanKind
68+
SpanKind: TypeAlias = _SpanKind
6969
__all__ = ['SpanKind']
7070
INSTRUMENTING_MODULE_NAME = 'a2a-python-sdk'
7171
INSTRUMENTING_MODULE_VERSION = '1.0.0'

0 commit comments

Comments
 (0)