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 f32c0d8 commit e9426ebCopy full SHA for e9426eb
src/a2a/utils/telemetry.py
@@ -58,14 +58,14 @@ def internal_method(self):
58
import logging
59
60
from collections.abc import Callable
61
-from typing import Any
+from typing import Any, TypeAlias
62
63
from opentelemetry import trace
64
from opentelemetry.trace import SpanKind as _SpanKind
65
from opentelemetry.trace import StatusCode
66
67
68
-SpanKind = _SpanKind
+SpanKind: TypeAlias = _SpanKind
69
__all__ = ['SpanKind']
70
INSTRUMENTING_MODULE_NAME = 'a2a-python-sdk'
71
INSTRUMENTING_MODULE_VERSION = '1.0.0'
0 commit comments