Apache Airflow · Schema
ClearTaskInstances
ClearTaskInstances schema from Apache Airflow API
ApacheDAGData PipelineETLOpen SourceOrchestrationPythonSchedulingWorkflow
Properties
| Name | Type | Description |
|---|---|---|
| dag_run_id | string | The DagRun ID for this task instance |
| dry_run | boolean | If set, don't actually run this operation. The response will contain a list of task instances planned to be cleaned, but not modified in any way. |
| end_date | string | The maximum execution date to clear. |
| include_downstream | boolean | If set to true, downstream tasks are also affected. |
| include_future | boolean | If set to True, also tasks from future DAG Runs are affected. |
| include_parentdag | boolean | Clear tasks in the parent dag of the subdag. |
| include_past | boolean | If set to True, also tasks from past DAG Runs are affected. |
| include_subdags | boolean | Clear tasks in subdags and clear external tasks indicated by ExternalTaskMarker. |
| include_upstream | boolean | If set to true, upstream tasks are also affected. |
| only_failed | boolean | Only clear failed tasks. |
| only_running | boolean | Only clear running tasks. |
| reset_dag_runs | boolean | Set state of DAG runs to RUNNING. |
| start_date | string | The minimum execution date to clear. |
| task_ids | array | A list of task ids to clear. *New in version 2.1.0* |