Skip to content

Commit 5844216

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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 import (
@@ -228,4 +228,4 @@ async def consume(
228228

229229
@abstractmethod
230230
async def close(self) -> None:
231-
"""Closes the client and releases any underlying resources."""
231+
"""Closes the client and releases any underlying resources."""

0 commit comments

Comments
 (0)