DEV Community

FastAPI

The official tag for the FastAPI framework.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

1
Comments
4 min read
I Built AuthShield and Immediately Knew It Wasn't Enough

I Built AuthShield and Immediately Knew It Wasn't Enough

1
Comments
5 min read
PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

Comments
5 min read
FastAPI Dependency Injection for Multi-Tenant Request Context: Avoiding the Global State Trap

FastAPI Dependency Injection for Multi-Tenant Request Context: Avoiding the Global State Trap

Comments
4 min read
My RAG pipeline couldn't find the CEO — here's how I fixed it with hybrid retrieval

My RAG pipeline couldn't find the CEO — here's how I fixed it with hybrid retrieval

Comments 1
4 min read
Your Python Pre-commit Hook Took 18 Seconds. Ruff Does It in 0.3.

Your Python Pre-commit Hook Took 18 Seconds. Ruff Does It in 0.3.

2
Comments
5 min read
Tratamento de caracteres utf-8 com Python e a flag -Xutf8

Tratamento de caracteres utf-8 com Python e a flag -Xutf8

Comments
2 min read
Building LinkPilot AI Pro: How I Supercharged LinkedIn with AI 🚀

Building LinkPilot AI Pro: How I Supercharged LinkedIn with AI 🚀

Comments
3 min read
Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

2
Comments
5 min read
FastAPI for Data Engineers: Building, Testing, and Debugging APIs That Don't Lie to You

FastAPI for Data Engineers: Building, Testing, and Debugging APIs That Don't Lie to You

1
Comments
14 min read
Type-Safe Environment Variables Across Monorepo Boundaries: Sharing Secrets Between Astro, React, and FastAPI Without Leaking to the Browser

Type-Safe Environment Variables Across Monorepo Boundaries: Sharing Secrets Between Astro, React, and FastAPI Without Leaking to the Browser

Comments
4 min read
Cloudflare Pages + FastAPI: Building a Hybrid Edge/Origin Architecture for Sub-100ms AI Response Times

Cloudflare Pages + FastAPI: Building a Hybrid Edge/Origin Architecture for Sub-100ms AI Response Times

Comments
5 min read
How to Share a TWAIN Scanner Securely Over a LAN with Python FastAPI and Dynamic Web TWAIN

How to Share a TWAIN Scanner Securely Over a LAN with Python FastAPI and Dynamic Web TWAIN

1
Comments
7 min read
Environment Variable Validation in FastAPI: Catching Misconfiguration Before Your SaaS Goes Down

Environment Variable Validation in FastAPI: Catching Misconfiguration Before Your SaaS Goes Down

Comments
5 min read
PostgreSQL LISTEN/NOTIFY for Real-Time Multi-Tenant Events: Ditching Polling and WebSocket Complexity

PostgreSQL LISTEN/NOTIFY for Real-Time Multi-Tenant Events: Ditching Polling and WebSocket Complexity

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