Skip to content

Commit

Permalink
update reset_dag_runs default value to true (apache#45453)
Browse files Browse the repository at this point in the history
  • Loading branch information
vatsrahul1001 authored Jan 8, 2025
1 parent dc3111a commit 185573e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airflow/api_fastapi/core_api/datamodels/task_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class ClearTaskInstancesBody(BaseModel):
end_date: AwareDatetime | None = None
only_failed: bool = True
only_running: bool = False
reset_dag_runs: bool = False
reset_dag_runs: bool = True
task_ids: list[str] | None = None
dag_run_id: str | None = None
include_upstream: bool = False
Expand Down
2 changes: 1 addition & 1 deletion airflow/api_fastapi/core_api/openapi/v1-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6582,7 +6582,7 @@ components:
reset_dag_runs:
type: boolean
title: Reset Dag Runs
default: false
default: true
task_ids:
anyOf:
- items:
Expand Down
2 changes: 1 addition & 1 deletion airflow/ui/openapi-gen/requests/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export const $ClearTaskInstancesBody = {
reset_dag_runs: {
type: "boolean",
title: "Reset Dag Runs",
default: false,
default: true,
},
task_ids: {
anyOf: [
Expand Down

0 comments on commit 185573e

Please sign in to comment.