gustaf.helpers.data.ComputedData.depends_on#
- classmethod ComputedData.depends_on(var_names, make_property=False)[source]#
Decorator as classmethod.
checks if the key should be computed. Two cases, where the answer is yes:
- there’s modification on arrays that the key depend on.
->erases all other
is corresponding value None?
Supports multi-dependency
- Parameters:
var_name (list)
make_property