diff --git a/sphinxcontrib/autodoc_pydantic/directives/autodocumenters.py b/sphinxcontrib/autodoc_pydantic/directives/autodocumenters.py index 88bbd48b..2a32591a 100644 --- a/sphinxcontrib/autodoc_pydantic/directives/autodocumenters.py +++ b/sphinxcontrib/autodoc_pydantic/directives/autodocumenters.py @@ -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)