Griffe extension that extracts Pydantic models, fields, validators, and configurations from Python source code for documentation generation. Current version: 1.3.1. Released under MIT license with regular updates.
pip install griffe-pydanticNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Load a package and extract Pydantic models with the extension.
pip install griffelib; ensure griffe-pydantic>=1.3.0 and griffelib (not griffe) are installed.
Use the logger named 'griffe_pydantic' instead.
Use Field() or class attributes for fields; do not expect @property to be treated as a model field.