Initial extracted documentation set
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# FastAPI vs Python
|
||||
|
||||
Use this to capture places where FastAPI/Starlette conventions deliberately differ from broader Python guidance.
|
||||
|
||||
Examples to watch for:
|
||||
- DI through callables and annotations instead of explicit constructor wiring
|
||||
- framework-facing Pydantic models at transport boundaries
|
||||
- async-first request handlers even when core logic stays sync
|
||||
- startup/lifespan hooks instead of plain context management entrypoints
|
||||
Reference in New Issue
Block a user