amoghrajesh commented on code in PR #72100:
URL: https://github.com/apache/airflow/pull/72100#discussion_r3965711136
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/task_instances.py:
##########
@@ -231,6 +231,11 @@ class ClearTaskInstancesBody(StrictBaseModel):
"and finally ``False`` (the historical default for clear/rerun).",
)
prevent_running_task: bool = False
+ keep_task_state: bool = Field(
Review Comment:
Plumbed `keepTaskState` through the bulk-clear UI
(useBulkClearTaskInstances/BulkClearTaskInstancesButton, mirroring how
preventRunningTask is already threaded) and added a `--keep-task-state` flag to
`airflowctl dags clear`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]