memoized

wield.declarative.properties.memoized

Aliases

Items from sub-modules exposed to import from this module

Classes

ClassMemoizedDescriptor(fget[, doc])

Works like a combination of property and classmethod as well as memoized_property

MemoizeFunction(func)

cache the return value of a method

MemoizedDescriptor(fget[, name, doc, ...])

wraps a member function just as property but saves its value after evaluation (and is thus only evaluated once)

MemoizedDescriptorFNoSet(fget[, name, doc, ...])

wraps a member function just as property but saves its value after evaluation (and is thus only evaluated once)

memoized_class_property

alias of ClassMemoizedDescriptor

mfunction

alias of MemoizeFunction

Functions

dproperty([__func, declarative, ...])

dproperty_fns([__func, declarative, ...])

dproperty_plain([__func, declarative, ...])

mproperty([__func, original_callname])

mproperty_fns([__func, original_callname])

mproperty_plain([__func, original_callname])

Exceptions

Details

dproperty(__func=None, declarative=True, original_callname='dproperty', **kwargs)[source][github]
dproperty_fns(__func=None, declarative=True, original_callname='dproperty', **kwargs)[github]
dproperty_plain(__func=None, declarative=True, original_callname='dproperty_plain', **kwargs)[source][github]
mproperty(__func=None, original_callname='mproperty', **kwargs)[source][github]
mproperty_fns(__func=None, original_callname='mproperty', **kwargs)[github]
mproperty_plain(__func=None, original_callname='mproperty_plain', **kwargs)[source][github]
exception AccessError[source][github]