Skip to content

Commit fb4a107

Browse files
committed
fix
1 parent c6ae449 commit fb4a107

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/a2a/server/routes/rest_routes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ async def _handle_request(
139139

140140
@rest_stream_error_handler
141141
async def _handle_streaming_request(
142-
self,
143142
method: Callable[[Request, ServerCallContext], AsyncIterable[Any]],
144143
request: Request,
145144
) -> EventSourceResponse:
@@ -153,7 +152,7 @@ async def _handle_streaming_request(
153152
message=f'Failed to pre-consume request body: {e}'
154153
) from e
155154

156-
call_context = self._build_call_context(request)
155+
call_context = _build_call_context(request)
157156

158157
# Eagerly fetch the first item from the stream so that errors raised
159158
# before any event is yielded (e.g. validation, parsing, or handler

0 commit comments

Comments
 (0)