Skip to content

dynamic ¤

Griffe extension for Pydantic.

Modules:

  • common

    Griffe extension for Pydantic.

Functions:

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.