From a6153c603a7f4ddfe58cdff84236a6894c8eb669 Mon Sep 17 00:00:00 2001 From: Charles Machalow Date: Mon, 31 Oct 2022 14:19:28 -0700 Subject: [PATCH 1/2] SLAMiss is nullable and not always given back when pulling task instances See https://github.com/apache/airflow-client-python/issues/50 for an example of the related error --- airflow/api_connexion/openapi/v1.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow/api_connexion/openapi/v1.yaml b/airflow/api_connexion/openapi/v1.yaml index 2a100affed9ba..22d62c4650290 100644 --- a/airflow/api_connexion/openapi/v1.yaml +++ b/airflow/api_connexion/openapi/v1.yaml @@ -2989,6 +2989,7 @@ components: nullable: true notification_sent: type: boolean + nullable: true Trigger: type: object From e76b807dee1a55aef96cb7d2bea4f6a6f8ab51aa Mon Sep 17 00:00:00 2001 From: Charles Machalow Date: Mon, 31 Oct 2022 14:19:28 -0700 Subject: [PATCH 2/2] SLAMiss is nullable and not always given back when pulling task instances See https://github.com/apache/airflow-client-python/issues/50 for an example of the related error --- airflow/www/static/js/types/api-generated.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www/static/js/types/api-generated.ts b/airflow/www/static/js/types/api-generated.ts index 4d08be848d45a..4719ed970bf88 100644 --- a/airflow/www/static/js/types/api-generated.ts +++ b/airflow/www/static/js/types/api-generated.ts @@ -1156,7 +1156,7 @@ export interface components { timestamp?: string; description?: string | null; notification_sent?: boolean; - }; + } | null; Trigger: { id?: number; classpath?: string;