dry_run | bool | 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. | [optional] if omitted the server will use the default value of True |
task_ids | [str] | A list of task ids to clear. New in version 2.1.0 | [optional] |
start_date | str | The minimum execution date to clear. | [optional] |
end_date | str | The maximum execution date to clear. | [optional] |
only_failed | bool | Only clear failed tasks. | [optional] if omitted the server will use the default value of True |
only_running | bool | Only clear running tasks. | [optional] if omitted the server will use the default value of False |
include_subdags | bool | Clear tasks in subdags and clear external tasks indicated by ExternalTaskMarker. | [optional] |
include_parentdag | bool | Clear tasks in the parent dag of the subdag. | [optional] |
reset_dag_runs | bool | Set state of DAG runs to RUNNING. | [optional] |
dag_run_id | str, none_type | The DagRun ID for this task instance | [optional] |
include_upstream | bool | If set to true, upstream tasks are also affected. | [optional] if omitted the server will use the default value of False |
include_downstream | bool | If set to true, downstream tasks are also affected. | [optional] if omitted the server will use the default value of False |
include_future | bool | If set to True, also tasks from future DAG Runs are affected. | [optional] if omitted the server will use the default value of False |
include_past | bool | If set to True, also tasks from past DAG Runs are affected. | [optional] if omitted the server will use the default value of False |
any string name | bool, date, datetime, dict, float, int, list, str, none_type | any string name can be used but the value must be the correct type | [optional] |