- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for anyio (0.02 seconds)
-
fastapi/routing.py
AsyncExitStack, asynccontextmanager, ) from enum import Enum, IntEnum from typing import ( Annotated, Any, TypeVar, cast, ) import anyio from annotated_doc import Doc from anyio.abc import ObjectReceiveStream from fastapi import params from fastapi._compat import ( ModelField, Undefined, lenient_issubclass, )Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K 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)