Skip to content

Commit 790e71a

Browse files
committed
Spelling fixes
1 parent 6d64c5f commit 790e71a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/a2a/server/events/event_consumer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
from a2a.utils.errors import ServerError
1616
from a2a.utils.telemetry import SpanKind, trace_class
1717

18-
# This is an alias to the execption for closed queue
18+
19+
# This is an alias to the exception for closed queue
1920
QueueClosed = asyncio.QueueEmpty
2021

2122
# When using python 3.13 or higher, the closed queue signal is QueueShutdown

src/a2a/server/events/event_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async def dequeue_event(self, no_wait: bool = False) -> Event:
6565
the queue has been closed. In python 3.13+ this is naturally provided
6666
by the QueueShutDown exception generated when the queue has closed and
6767
the user is awaiting the queue.get method. Python<=3.12 this needs to
68-
manage this lifecylce itself. The current implementation can lead to
68+
manage this lifecycle itself. The current implementation can lead to
6969
blocking if the dequeue_event is called before the EventQueue has been
7070
closed but when there are no events on the queue. Two ways to avoid this
7171
are to call this with no_wait = True which won't block, but is the

0 commit comments

Comments
 (0)