static ¤
Griffe extension for Pydantic.
Modules:
-
common
–Griffe extension for Pydantic.
Functions:
-
inherits_pydantic
–Tell whether a class inherits from a Pydantic model.
-
process_attribute
–Handle Pydantic fields.
-
process_class
–Finalize the Pydantic model data.
-
process_function
–Handle Pydantic field validators.
-
process_module
–Handle Pydantic models in a module.
-
pydantic_validator
–Return a function's
pydantic.field_validator
decorator if it exists.