chemicalchecker.util.decorator.property.cached_property
- class cached_property(func)[source]
Bases:
object
Decorator for lazily loading attributes.
With this, the call to a class function becomes an attribute myobject.function and NOT myobject.function() The attribute is calculated when the function is called and stored as a property for later speedups.
Methods