Skip to content

Commit c2b0c98

Browse files
committed
fix: use typing_extensions Self for telemetry
1 parent e1f78a8 commit c2b0c98

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/a2a/utils/telemetry.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ def internal_method(self):
6161
from collections.abc import Callable
6262
from typing import TYPE_CHECKING, Any
6363

64-
65-
try:
66-
from typing import Self
67-
except ImportError: # pragma: no cover - for Python < 3.11
68-
from typing_extensions import Self
64+
from typing_extensions import Self
6965

7066

7167
if TYPE_CHECKING:

0 commit comments

Comments
 (0)