Skip to content

Commit 913234c

Browse files
Apply suggestion from @Tehsmash
Co-authored-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
1 parent 796d86b commit 913234c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/a2a/server/request_handlers/default_request_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ async def on_subscribe_to_task(
536536
self,
537537
params: SubscribeToTaskRequest,
538538
context: ServerCallContext | None = None,
539-
) -> AsyncGenerator[Event]:
539+
) -> AsyncGenerator[StreamResponse]:
540540
"""Default handler for 'SubscribeToTask'.
541541
542542
Allows a client to re-attach to a running streaming task's event stream.

0 commit comments

Comments
 (0)