-
Notifications
You must be signed in to change notification settings - Fork 17.4k
clear specific dag run TI #23516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clear specific dag run TI #23516
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -569,7 +569,7 @@ paths: | |
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: '#/components/schemas/ClearTaskInstance' | ||
| $ref: '#/components/schemas/ClearTaskInstances' | ||
|
|
||
| responses: | ||
| '200': | ||
|
|
@@ -3701,7 +3701,7 @@ components: | |
| type: boolean | ||
| default: true | ||
|
|
||
| ClearTaskInstance: | ||
| ClearTaskInstances: | ||
| type: object | ||
| properties: | ||
| dry_run: | ||
|
|
@@ -3753,6 +3753,31 @@ components: | |
| description: Set state of DAG runs to RUNNING. | ||
| type: boolean | ||
|
|
||
| dag_run_id: | ||
| type: string | ||
| description: The DagRun ID for this task instance | ||
| nullable: true | ||
|
|
||
| include_upstream: | ||
| description: If set to true, upstream tasks are also affected. | ||
| type: boolean | ||
| default: false | ||
|
|
||
| include_downstream: | ||
| description: If set to true, downstream tasks are also affected. | ||
| type: boolean | ||
| default: false | ||
|
|
||
| include_future: | ||
| description: If set to True, also tasks from future DAG Runs are affected. | ||
| type: boolean | ||
| default: false | ||
|
|
||
| include_past: | ||
| description: If set to True, also tasks from past DAG Runs are affected. | ||
| type: boolean | ||
| default: false | ||
|
|
||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bbovenzi @ephraimbuddy I have added the params but when I hit these params to test the API, I get an error saying
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bbovenzi @ephraimbuddy Could anyone help me in solving this issue? It would be very helpful for me.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I am not too familiar with this side of things, but I don't seem to see
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also you need to add these to the Marshmallow schema (you already added |
||
| UpdateTaskInstancesState: | ||
| type: object | ||
| properties: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.