Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/a2a/server/events/event_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ async def consume_all(self) -> AsyncGenerator[Event]:
except TimeoutError:
# continue polling until there is a final event
continue
except asyncio.TimeoutError:
# This class was made an alias of build-in TimeoutError after 3.11
continue
except QueueClosed:
# Confirm that the queue is closed, e.g. we aren't on
# python 3.12 and get a queue empty error on an open queue
Expand Down
Loading