Skip to content

Commit

Permalink
Add TriggerRule missing value in rest API (apache#35194)
Browse files Browse the repository at this point in the history
* Add TriggerRule missing in rest API

* Update airflow/api_connexion/openapi/v1.yaml

* Update airflow/www/static/js/types/api-generated.ts
  • Loading branch information
pankajastro authored Oct 26, 2023
1 parent 8e26894 commit e3b3d78
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
12 changes: 11 additions & 1 deletion airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4757,19 +4757,29 @@ components:
description: |
Trigger rule.
*Changed in version 2.2.0*: 'none_failed_min_one_success' is added as a possible value.
*Changed in version 2.2.0*: 'none_failed_min_one_success' is added as a possible value. Deprecated 'dummy' and 'always' is added as a possible value
*Changed in version 2.3.0*: 'all_skipped' is added as a possible value.
*Changed in version 2.5.0*: 'one_done' is added as a possible value.
*Changed in version 2.7.0*: 'all_done_setup_success' is added as a possible value.
type: string
enum:
- all_success
- all_failed
- all_done
- all_done_setup_success
- one_success
- one_failed
- one_done
- none_failed
- none_skipped
- none_failed_or_skipped
- none_failed_min_one_success
- dummy
- all_skipped
- always

WeightRule:
description: Weight rule.
Expand Down
14 changes: 12 additions & 2 deletions airflow/www/static/js/types/api-generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2207,21 +2207,31 @@ export interface components {
/**
* @description Trigger rule.
*
* *Changed in version 2.2.0*: 'none_failed_min_one_success' is added as a possible value.
* *Changed in version 2.2.0*: 'none_failed_min_one_success' is added as a possible value. Deprecated 'dummy' and 'always' is added as a possible value
*
* *Changed in version 2.3.0*: 'all_skipped' is added as a possible value.
*
* *Changed in version 2.5.0*: 'one_done' is added as a possible value.
*
* *Changed in version 2.7.0*: 'all_done_setup_success' is added as a possible value.
*
* @enum {string}
*/
TriggerRule:
| "all_success"
| "all_failed"
| "all_done"
| "all_done_setup_success"
| "one_success"
| "one_failed"
| "one_done"
| "none_failed"
| "none_skipped"
| "none_failed_or_skipped"
| "none_failed_min_one_success"
| "dummy";
| "dummy"
| "all_skipped"
| "always";
/**
* @description Weight rule.
* @enum {string}
Expand Down

0 comments on commit e3b3d78

Please sign in to comment.