dynamic ¤
Griffe extension for Pydantic.
Modules:
-
common
–Griffe extension for Pydantic.
Functions:
-
process_attribute
–Handle Pydantic fields.
-
process_class
–Detect and prepare Pydantic models.
-
process_function
–Handle Pydantic field validators.
process_attribute ¤
process_attribute(
node: ObjectNode, attr: Attribute, cls: Class
) -> None
Handle Pydantic fields.
process_class ¤
process_class(node: ObjectNode, cls: Class) -> None
Detect and prepare Pydantic models.
process_function ¤
process_function(
node: ObjectNode, func: Function, cls: Class
) -> None
Handle Pydantic field validators.