FastAPI

Pydantic v2

The Rust-core rewrite of Pydantic, with a renamed public API.

Why interviewers ask about it

Know the mapping cold: .dict() to .model_dump(), class Config to model_config = ConfigDict(...), orm_mode to from_attributes, @validator to @field_validator. Using v1 names is the clearest sign of a stale answer.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.