- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for anyio (0.41 seconds)
-
docs/en/docs/release-notes.md
This release adds support for [Trio](https://trio.readthedocs.io/en/stable/). ✨ It upgrades the version of Starlette to `0.15.0`, now based on [AnyIO](https://anyio.readthedocs.io/en/stable/), and the internal async components in **FastAPI** are now based on AnyIO as well, making it compatible with both **asyncio** and **Trio**.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
fastapi/applications.py
# except HTTPException inside a dependency with yield. # This needs to happen after user middlewares because those create a # new contextvars context copy by using a new AnyIO task group. # This AsyncExitStack preserves the context for contextvars, not # strictly necessary for closing files but it was one of the original # intentions.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0)