exopy.tasks.tasks.logic.conditional_task module

Task equivalent to an if statement.

class exopy.tasks.tasks.logic.conditional_task.ConditionalTask[source]

Bases: exopy.tasks.tasks.base_tasks.ComplexTask

Task calling its children only if a given condition is met.

condition

Condition to meet in order to perform the children tasks.

perform()[source]

Call the children task if the condition evaluate to True.