Derived¶
didactic.api.derived ¶
Mark a method as a cached derivation on a Model.
| PARAMETER | DESCRIPTION |
|---|---|
fn
|
The method to mark. Takes
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
property
|
A descriptor that returns the cached value on access. The
cache lives on the instance under |
Examples: