You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/30 17:20:48 UTC

[GitHub] [airflow] bbovenzi commented on a diff in pull request #25961: Add triggered dag runs to dataset events

bbovenzi commented on code in PR #25961:
URL: https://github.com/apache/airflow/pull/25961#discussion_r958744801


##########
airflow/www/static/js/types/api-generated.ts:
##########
@@ -1536,9 +1536,54 @@ export interface components {
       source_run_id?: string | null;
       /** @description The task map index that updated the dataset. */
       source_map_index?: number | null;
+      created_dagruns?: components["schemas"]["BasicDAGRun"][];
       /** @description The dataset event creation time */
       timestamp?: string;
     };
+    BasicDAGRun: {
+      /** @description Run ID. */
+      run_id?: string | null;
+      dag_id?: string;
+      /**
+       * Format: date-time
+       * @description The logical date (previously called execution date). This is the time or interval covered by
+       * this DAG run, according to the DAG definition.
+       *
+       * The value of this field can be set only when creating the object. If you try to modify the
+       * field of an existing object, the request fails with an BAD_REQUEST error.
+       *
+       * This together with DAG_ID are a unique key.
+       *
+       * *New in version 2.2.0*
+       */
+      logical_date?: string | null;

Review Comment:
   This is just following the regular DagRun schema which has all of these as nullable in `v1.yaml`. Should we update that too?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org