Skip to content

Commit 3131315

Browse files
committed
Fix mypy
1 parent 63f986f commit 3131315

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/a2a/client/transports/http_helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ async def send_http_stream_request(
7373
httpx_client: httpx.AsyncClient,
7474
method: str,
7575
url: str,
76-
status_error_handler: Callable[[httpx.HTTPStatusError], NoReturn],
76+
status_error_handler: Callable[[httpx.HTTPStatusError], NoReturn]
77+
| None = None,
7778
sse_error_handler: Callable[[str], NoReturn] = _default_sse_error_handler,
7879
**kwargs: Any,
7980
) -> AsyncGenerator[str]:

0 commit comments

Comments
 (0)