DEV Community

FastAPI

The official tag for the FastAPI framework.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Why Generic CRUD Routers Break in FastAPI: Route Shadowing, Architecture Bypassing, and Pragmatic Fixes

Why Generic CRUD Routers Break in FastAPI: Route Shadowing, Architecture Bypassing, and Pragmatic Fixes

Comments
9 min read
Building Pre-Execution Security Guardrails for Autonomous AI Agents (FastAPI + Python)

Building Pre-Execution Security Guardrails for Autonomous AI Agents (FastAPI + Python)

Comments
1 min read
🔎 Building IncidentCopilot: Designing a Deterministic Log Correlation Engine

🔎 Building IncidentCopilot: Designing a Deterministic Log Correlation Engine

Comments
2 min read
FastAPI Database Guide: PostgreSQL vs MongoDB for Python Developers

FastAPI Database Guide: PostgreSQL vs MongoDB for Python Developers

Comments
1 min read
Async Python FastAPI Integration with ComfyUI's WebSocket API

Async Python FastAPI Integration with ComfyUI's WebSocket API

Comments
3 min read
AI content generation: the automated blog draft feature

AI content generation: the automated blog draft feature

Comments
4 min read
I built shadow-debugger: non-blocking AI error diagnosis for Python & FastAPI (works offline with Ollama)

I built shadow-debugger: non-blocking AI error diagnosis for Python & FastAPI (works offline with Ollama)

Comments
4 min read
Counting OpenAI Tokens per Request in FastAPI — Without Touching My Use Cases

Counting OpenAI Tokens per Request in FastAPI — Without Touching My Use Cases

Comments
6 min read
# Building OutageLens AI: Tracing Service Failures with FalkorDB

# Building OutageLens AI: Tracing Service Failures with FalkorDB

Comments
5 min read
How to Protect a Travel Planning Assistant Like SNCF Connect from Indirect Injection via Scraped Web Pages

How to Protect a Travel Planning Assistant Like SNCF Connect from Indirect Injection via Scraped Web Pages

Comments
4 min read
12 Cursor rules that stop AI assistants writing outdated FastAPI code

12 Cursor rules that stop AI assistants writing outdated FastAPI code

Comments
2 min read
How a job queue fits in one SQLite file

How a job queue fits in one SQLite file

8
Comments 8
5 min read
How to Stream LLM Responses With FastAPI and SSE

How to Stream LLM Responses With FastAPI and SSE

1
Comments
5 min read
The Pydantic v1 to v2 cheat sheet (and the trap the deprecation warnings hide)

The Pydantic v1 to v2 cheat sheet (and the trap the deprecation warnings hide)

1
Comments
2 min read
Pydantic + Type Hints: FastAPI’s Secret Weapon 🚀

Pydantic + Type Hints: FastAPI’s Secret Weapon 🚀

Comments
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.