flytekit.WorkflowFailurePolicy¶
- class flytekit.WorkflowFailurePolicy(value)[source]¶
Defines the behavior for a workflow execution in the case of an observed node execution failure. By default, a workflow execution will immediately enter a failed state if a component node fails.
Attributes
- FAIL_IMMEDIATELY = 0
Causes the entire workflow execution to fail once a component node fails.
- FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1
Will proceed to run any remaining runnable nodes once a component node fails.