Skip to content

Commit 3e170fa

Browse files
Update event_consumer.py
1 parent 081e695 commit 3e170fa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/a2a/server/events/event_consumer.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@
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
19-
QueueClosed = asyncio.QueueEmpty
20-
21-
# When using python 3.13 or higher, the closed queue signal is QueueShutdown
22-
if sys.version_info >= (3, 13):
23-
QueueClosed = asyncio.QueueShutDown
24-
2518
# This is an alias to the exception for closed queue
2619
QueueClosed = asyncio.QueueEmpty
2720

0 commit comments

Comments
 (0)