DEV Community

# pydantic

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Pydantic V2 discriminator pattern for MCP return types

Pydantic V2 discriminator pattern for MCP return types

1
Comments
1 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
The Dangerous Bugs Are the Ones That Don't Crash: Building Input Validation for My MCP Server

The Dangerous Bugs Are the Ones That Don't Crash: Building Input Validation for My MCP Server

Comments
11 min read
Building CafeTwin: what we shipped, and how Logfire + PydanticAI carried the weekend

Building CafeTwin: what we shipped, and how Logfire + PydanticAI carried the weekend

Comments
6 min read
Building PulseOps with Pydantic AI and Logfire: Predicting London Bus Delays Before They Happen

Building PulseOps with Pydantic AI and Logfire: Predicting London Bus Delays Before They Happen

Comments
4 min read
Structured LLM Outputs with Pydantic v2: Stop Parsing Freeform JSON and Start Typing Your AI

Structured LLM Outputs with Pydantic v2: Stop Parsing Freeform JSON and Start Typing Your AI

Comments 1
6 min read
Reframing the Developer Experience of Data Assembly: pydantic-resolve vs SQLAlchemy ORM Query Patterns

Reframing the Developer Experience of Data Assembly: pydantic-resolve vs SQLAlchemy ORM Query Patterns

Comments
13 min read
The Schema IS the Prompt: Rethinking AI-Native Software Design

The Schema IS the Prompt: Rethinking AI-Native Software Design

1
Comments
3 min read
From Pydantic Model to AI Agent in 10 Lines of Python

From Pydantic Model to AI Agent in 10 Lines of Python

Comments
4 min read
Stop writing fake test data by hand — I built a library that generates it for you

Stop writing fake test data by hand — I built a library that generates it for you

1
Comments
2 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.