Pydantic · Decorator
with_config
Pydantic configuration controls model behavior. Child models inherit and merge parent settings, while nested Pydantic models keep separate configuration boundaries.
Last updated
Syntax
class Model(BaseModel):
model_config = ConfigDict(...)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ConfigDictmodel_config__pydantic_config__with_configvalidate_callplugin_settings