Skip to content

Commit d64abee

Browse files
feat: add async context manager support to ClientTransport (linter)
1 parent 1856f87 commit d64abee

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/a2a/client/transports/base.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
from __future__ import annotations
2-
31
from abc import ABC, abstractmethod
42
from collections.abc import AsyncGenerator, Callable
5-
from typing import TYPE_CHECKING
3+
from types import TracebackType
64

75
from typing_extensions import Self
86

9-
10-
if TYPE_CHECKING:
11-
from types import TracebackType
12-
137
from a2a.client.middleware import ClientCallContext
148
from a2a.types import (
159
AgentCard,

0 commit comments

Comments
 (0)