The engineering notebook
RSS feed#pydantic
Articles, practical guides, and engineering notes on pydantic.
By Ashish Bhakhand 108 published articles
Explore the articles
2 articles
Reset filtersPractical Pydantic Validation Beyond Basic Field Types
Use strict objects, constrained fields, normalization, literals, and model validators without moving business logic into schemas.
Pydantic Is a Boundary, Not Your Entire Domain Model
Separate API schemas, internal domain types, and database rows so each representation serves the job it was designed for.