We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8fbd3 commit 83dcba0Copy full SHA for 83dcba0
numpydoc/docscrape.py
@@ -8,6 +8,7 @@
8
from warnings import warn
9
from collections import namedtuple
10
from collections.abc import Callable, Mapping
11
+from functools import cached_property
12
import copy
13
import sys
14
@@ -706,7 +707,7 @@ def properties(self):
706
707
not name.startswith("_")
708
and (
709
func is None
- or isinstance(func, property)
710
+ or isinstance(func, (property, cached_property))
711
or inspect.isdatadescriptor(func)
712
)
713
and self._is_show_member(name)
0 commit comments