Closed
Description
It's because this property does not pass the check of isinstance(a, property)
- see https://bugs.python.org/issue41523
https://github.com/sphinx-doc/sphinx/blob/3.x/sphinx/util/inspect.py#L305-L307 needs to change to:
from functools import cached_property
def isproperty(obj: Any) -> bool:
"""Check if the object is property."""
return isinstance(obj, (property, cached_property))
And guarded to be 3.8+
.
Metadata
Metadata
Assignees
Projects
Relationships
Development
No branches or pull requests
Activity
Fix sphinx-doc#8103: autodoc: cached_property is not considered as a …
Merge pull request #8111 from tk0miya/8103_cached_property