Skip to main content

Module context

Module context 

Source
Expand description

Validation context: current location, collected errors, model settings and user data shared with validators.

Structs§

ModelConfig
Per-model settings (Pydantic model_config) that leaf types consult.
ValidationContext
Mutable state threaded through prepare and validate.

Enums§

Extra
How unknown input keys are treated (Pydantic extra).
InputKind
Where the input came from; text sources (query strings, forms, path segments) always allow string → scalar coercion, even in strict mode, because they cannot carry typed values.