airflow
airflow copied to clipboard
Enabling and Disabling the Task Before the DAG Run From UI and API
Description
Enabling and Disabling the task for the particular DAG from the UI and API. or using the parameter that disable it. This was it is easy to disable a particular task easily while running manually or schedule. The UI gives us the feature to select the task to disable it before triggering it manually
Use case/motivation
So for the backfill or running manually in a DAG if we don't want to run a particular task we can disable it, from UI and in the next schedule the particular task will not run. That way we don't have to remove the code for the task.
Related issues
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Thanks for opening your first issue here! Be sure to follow the issue template!
I think this one will be hard to implement and it is not something we really want to do. Tasks have dependencies to other tasks, and it might get tricky to decide what to do when one or more tasks are disabled.
But I wonder what others think,