class documentation

class cachedproperty: (source)

View In Hierarchy

Provides a cached property equivalent to the stacking of @cached and @property, but more efficient.

After first usage, the <property_name> becomes part of the object's __dict__. Doing:

del obj.<property_name> empties the cache.

Idea taken from the pyramid framework and the mercurial project.

Method __get__ Undocumented
Method __init__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable wrapped Undocumented
Property __doc__ Undocumented
def __get__(self, inst, objtype=None): (source)

Undocumented

def __init__(self, wrapped): (source)

Undocumented

__slots__: tuple[str, ...] = (source)

Undocumented

wrapped = (source)

Undocumented

@property
__doc__ = (source)

Undocumented