exopy.tasks.tasks.util.formula_task module

Task for defining mathematical formulas.

class exopy.tasks.tasks.util.formula_task.FormulaTask[source]

Bases: exopy.tasks.tasks.base_tasks.SimpleTask

Compute values according to formulas.

Any valid python expression can be evaluated; any valid key entry of the database will be replaced by it’s value.

formulas

List of formulas. To modify it (add/remove entry) the dictionary must be copied, modified and then reassigned.

wait

A value of type dict.

perform()[source]

Evaluate alll formulas and update the database.

check(*args, **kwargs)[source]

Validate that all formulas can be evaluated.