jason810496 commented on code in PR #66004:
URL: https://github.com/apache/airflow/pull/66004#discussion_r3165177836


##########
airflow-core/src/airflow/cli/commands/dag_command.py:
##########
@@ -116,6 +122,60 @@ def dag_delete(args) -> None:
         print("Cancelled")
 
 
+@cli_utils.action_cli
+@providers_configuration_loaded
+@provide_session
+def dag_clear(args, session: Session = NEW_SESSION) -> None:

Review Comment:
   Do we need to support corresponding REST API?
   
   Since the `dag_delete` command is actually calling API instead of having DB 
operation directly in CLI.
   Additionally, the further Airflow CTL _might_ also require the `dag_clear` 
ability? 



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