Skip to content

Commit e29ec70

Browse files
feat(client): expose close() and async context manager support on abstract Client (lint)
1 parent dc5b953 commit e29ec70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/a2a/client/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from types import TracebackType
77
from typing import Any
88

9-
from typing_extensions import Self
10-
119
import httpx
1210

11+
from typing_extensions import Self
12+
1313
from a2a.client.middleware import ClientCallContext, ClientCallInterceptor
1414
from a2a.client.optionals import Channel
1515
from a2a.types.a2a_pb2 import (
@@ -236,4 +236,4 @@ async def consume(
236236

237237
@abstractmethod
238238
async def close(self) -> None:
239-
"""Closes the client and releases any underlying resources."""
239+
"""Closes the client and releases any underlying resources."""

0 commit comments

Comments
 (0)