Description
we need a feature where we can set the state of the task instance to the specified state.
Use case / motivation
In my application, some task instances have been scheduled for a long time, we want to put it in the failed state. Currently, we are doing this by using airflow Web UI but we want to use API instead.
Are you willing to submit a PR?
Yes, I'm willing to.
Related Issues
#16412