We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e29ec70 commit 9b4d19dCopy full SHA for 9b4d19d
1 file changed
src/a2a/client/base_client.py
@@ -1,9 +1,6 @@
1
from collections.abc import AsyncGenerator, AsyncIterator, Callable
2
-from types import TracebackType
3
from typing import Any
4
5
-from typing_extensions import Self
6
-
7
from a2a.client.client import (
8
Client,
9
ClientCallContext,
@@ -48,19 +45,6 @@ def __init__(
48
45
self._config = config
49
46
self._transport = transport
50
47
51
- async def __aenter__(self) -> Self:
52
- """Enters the async context manager, returning the client itself."""
53
- return self
54
55
- async def __aexit__(
56
- self,
57
- exc_type: type[BaseException] | None,
58
- exc_val: BaseException | None,
59
- exc_tb: TracebackType | None,
60
- ) -> None:
61
- """Exits the async context manager, ensuring close() is called."""
62
- await self.close()
63
64
async def send_message(
65
self,
66
request: Message,
0 commit comments