clear_dag_run
Clear a specific DAG run in Apache Airflow by removing its task instances and resetting execution state, allowing for reruns or error recovery.
Instructions
Clear a DAG run
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dag_id | Yes | ||
dag_run_id | Yes | ||
dry_run | No |
Input Schema (JSON Schema)
{
"properties": {
"dag_id": {
"title": "Dag Id",
"type": "string"
},
"dag_run_id": {
"title": "Dag Run Id",
"type": "string"
},
"dry_run": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Dry Run"
}
},
"required": [
"dag_id",
"dag_run_id"
],
"type": "object"
}