MCPcopy Create free account
hub / github.com/pallets/quart / raise_task_exceptions

Function raise_task_exceptions

src/quart/utils.py:182–186  ·  view source on GitHub ↗
(tasks: set[asyncio.Task])

Source from the content-addressed store, hash-verified

180
181
182def raise_task_exceptions(tasks: set[asyncio.Task]) -> None:
183 # Raise any unexpected exceptions
184 for task in tasks:
185 if not task.cancelled() and task.exception() is not None:
186 raise task.exception()

Callers 3

__call__Method · 0.85
__call__Method · 0.85
cancel_tasksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…