Skip to content

API to set the state of the task instance to the specified state (airflow-1.10.11) #16429

@yyhecust

Description

@yyhecust

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions