Topic
FastAPI request flow, Pydantic contracts, dependencies, errors, resource lifetimes, streaming, and reliable HTTP boundaries.
Practice items tagged with FastAPI & API Design.
Explains acquisition and cleanup around `yield`, including request and function scopes, streaming, and exception-safe ownership.
Traces a request from the ASGI server through middleware, routing, dependencies, validation, handler execution, and response completion.
Explains FastAPI parameter-source inference and when explicit markers make an HTTP contract clearer.
Explains dependency graphs, sub-dependencies, request-local caching, failures, and deliberate cache bypass.
Explains how input conversion, strict validation, and extra-field policies change what an API accepts and preserves.
Locates pre-handler failures across proxies, routing, parsing, validation, dependencies, and middleware using structured evidence.