You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2022/10/18 13:10:33 UTC

[airflow] 17/41: Add restarting state to TaskState Enum in REST API (#26776)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit a19783e674d03673afb3a1fe01393af76d916716
Author: Ephraim Anierobi <sp...@gmail.com>
AuthorDate: Fri Sep 30 00:28:12 2022 +0100

    Add restarting state to TaskState Enum in REST API (#26776)
    
    (cherry picked from commit af368243f87dfb5a4bc98a571d7b4775186d214c)
---
 airflow/api_connexion/openapi/v1.yaml        | 2 ++
 airflow/www/static/js/types/api-generated.ts | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/airflow/api_connexion/openapi/v1.yaml b/airflow/api_connexion/openapi/v1.yaml
index f6ec246d90..9967bf1ed1 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -4224,6 +4224,7 @@ components:
         *Changed in version 2.2.0*&#58; 'deferred' is added as a possible value.
 
         *Changed in version 2.4.0*&#58; 'sensing' state has been removed.
+        *Changed in version 2.4.2*&#58; 'restarting' is added as a possible value
       type: string
       enum:
         - success
@@ -4238,6 +4239,7 @@ components:
         - scheduled
         - deferred
         - removed
+        - restarting
 
     DagState:
       description: |
diff --git a/airflow/www/static/js/types/api-generated.ts b/airflow/www/static/js/types/api-generated.ts
index adeec4e6cb..da7fc40783 100644
--- a/airflow/www/static/js/types/api-generated.ts
+++ b/airflow/www/static/js/types/api-generated.ts
@@ -1928,6 +1928,7 @@ export interface components {
      * *Changed in version 2.2.0*&#58; 'deferred' is added as a possible value.
      *
      * *Changed in version 2.4.0*&#58; 'sensing' state has been removed.
+     * *Changed in version 2.4.2*&#58; 'restarting' is added as a possible value
      *
      * @enum {string}
      */
@@ -1943,7 +1944,8 @@ export interface components {
       | "none"
       | "scheduled"
       | "deferred"
-      | "removed";
+      | "removed"
+      | "restarting";
     /**
      * @description DAG State.
      *