DEV Community

#pydantic

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Why I Don't Put Tenant-Specific Validation in My FastAPI Endpoints

Why I Don't Put Tenant-Specific Validation in My FastAPI Endpoints

Comments
3 min read
Type-Safe Multi-Tenant Request Validation in FastAPI with Pydantic v2

Type-Safe Multi-Tenant Request Validation in FastAPI with Pydantic v2

Comments
5 min read
Building a Multi-Agent AI for Company LinkedIn Pages - Part 7: Building the Hook Agent

Building a Multi-Agent AI for Company LinkedIn Pages - Part 7: Building the Hook Agent

1
Comments
3 min read
Making DSPy reliable: self-correcting, schema-validated LLM outputs with automatic prompt optimization

Making DSPy reliable: self-correcting, schema-validated LLM outputs with automatic prompt optimization

Comments 1
2 min read
Stop hand-parsing LLM JSON: structured outputs with pydantic-ai

Stop hand-parsing LLM JSON: structured outputs with pydantic-ai

2
Comments 1
2 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
Pydantic V2 discriminator pattern for MCP return types

Pydantic V2 discriminator pattern for MCP return types

2
Comments
1 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.