Decorators¶
Property-recalculation decorators for automatic change propagation.
General
¶
Functions:¶
recalculate
¶
Factory that creates a decorator to call self._calculate_<name>() after the wrapped method.
| PARAMETER | DESCRIPTION |
|---|---|
*method_names
|
One or more method suffixes. For each name,
TYPE:
|
requires
|
Extra attribute guards. Keys are attribute names
(e.g.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
|
A decorator (usable with |
Examples: