Skip to content

Commit

Permalink
docs: Exclude pydantic internal fields from API model docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcyran committed Oct 3, 2023
1 parent 975af31 commit 88530c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@
autodoc_typehints = "signature"
autodoc_typehints_format = "short"
autodoc_typehints_description_target = "documented"
autodoc_default_options = {
"exclude-members": "model_config, model_fields",
}

0 comments on commit 88530c9

Please sign in to comment.