FastAPI

FastAPI Request and Response Contracts with Pydantic featured image

FastAPI Request and Response Contracts with Pydantic

Use Pydantic schemas, field validation, response shaping, and consistent errors instead of fragile dictionary conventions.

avatar
杨劲松
•
FastAPI Project Architecture: Layering Routes and Domain Services featured image

FastAPI Project Architecture: Layering Routes and Domain Services

Organize a FastAPI service with layers, dependency injection, and configuration so AI endpoints stay testable and deployable.

avatar
杨劲松
•
FastAPI Async and Dependency Injection: Keep the Event Loop Healthy featured image

FastAPI Async and Dependency Injection: Keep the Event Loop Healthy

Understand async/sync boundaries, pool lifecycles, dependency scopes, and concurrency control in FastAPI.

avatar
杨劲松
•
FastAPI AI Streaming APIs with Server-Sent Events featured image

FastAPI AI Streaming APIs with Server-Sent Events

Build cancellable and observable AI streaming endpoints with generators, SSE framing, and disconnect handling.

avatar
杨劲松
•
AI Engineering with Python featured image

AI Engineering with Python

A scenario-driven guide to AI Engineering with Python, including boundaries, failure paths, and production trade-offs.

avatar
杨劲松
•