FastAPI

Path operations, Pydantic, dependency injection, async, and FastAPI patterns asked in Python backend interviews.

4 Fundamentals
What is FastAPI FastAPI vs Flask vs Django ASGI vs WSGI First App
4 Path Operations
Path Operations Path Parameters Query Parameters Request Body & Pydantic
4 Pydantic
Pydantic Models Field Validation Custom Validators Nested Models
4 Dependency Injection
Depends() Class Dependencies Sub-dependencies Yield Dependencies
2 Async & Responses
async vs sync Routes Response Models & Status Codes
2 Auth & Security
OAuth2 Password Flow JWT Auth
5 Production
Middleware & CORS Background Tasks WebSockets Testing Settings & Config