Skip to content

Commit

Permalink
ignore model_computed_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 authored Feb 18, 2024
1 parent 1d14f12 commit 111323e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def __init__(self, *args: Any) -> None:
super().__init__(*args)
exclude_members = self.options.setdefault("exclude-members", set())
exclude_members.add("model_fields")
exclude_members.add("model_computed_fields")
exclude_members.add("model_config")
self.pydantic = PydanticAutoDoc(self, is_child=False)

Expand Down

0 comments on commit 111323e

Please sign in to comment.