amoghrajesh commented on code in PR #72100:
URL: https://github.com/apache/airflow/pull/72100#discussion_r3987687635


##########
airflow-ctl/src/airflowctl/api/datamodels/generated.py:
##########
@@ -300,6 +300,13 @@ class ClearTaskInstancesBody(BaseModel):
         ),
     ] = None
     prevent_running_task: Annotated[bool | None, Field(title="Prevent Running 
Task")] = False
+    keep_task_state: Annotated[

Review Comment:
   We are not not re-adding `--keep-task-state` to `airflowctl dags clear` - it 
clears at Dag-run granularity, so we're treating it the same as the other 
Dag-run-level clear paths for now rather than bolting on a one off opt-out. 
Fixed the newsfragment instead, describes `airflowctl dags clear's` actual 
behavior (discards, no opt-out yet).
   
   



-- 
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]

Reply via email to