l.s.p.CachedProperty : class documentation

Part of lp.services.propertycache View In Hierarchy

Cached property descriptor.

Provides only the __get__ part of the descriptor protocol. Setting and clearing cached values should be done explicitly via IPropertyCache instances.

Method __init__ Initialize this instance.
Method __get__ Undocumented
Method __set__ Undocumented
Method __delete__ Undocumented
def __init__(self, populate, name):
Initialize this instance.

populate is a callable responsible for providing the value when this property has not yet been cached.

name is the name under which this property will cache itself.

def __get__(self, instance, cls):
Undocumented
def __set__(self, instance, value):
Undocumented
def __delete__(self, instance):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-04-24 00:00:10.