Switch
Variable execution defined by input data
Last updated
Variable execution defined by input data
Last updated
Subclass of .
Main methods and properties
*branches (): Branches that will be used.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
Combination of condition and associated with it Component
exit_branch (bool, optional): Specifies that this is the last branch that should be executed. Defaults to True.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
Evaluates condition and, if fulfilled, executes schema
schema (): Associated Component.
condition (Optional[], optional): Associated condition. If equals to None, schema always executed. Defaults to None.
input_data (): Data for processing
evaluator (Optional[], optional): Evaluator in context of which Condition executed.
Optional[]: Result of executed schema, if executed; otherwise, None.