guan404ming commented on code in PR #50065:
URL: https://github.com/apache/airflow/pull/50065#discussion_r2072305351


##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/job.py:
##########
@@ -34,6 +36,9 @@ class JobResponse(BaseModel):
     executor_class: str | None
     hostname: str | None
     unixname: str | None
+    dag_display_name: str | None = Field(
+        validation_alias=AliasPath("dag_model", "dag_display_name"), 
default=None
+    )

Review Comment:
   Since `dag_id` could be none here, thus we should also make 
`dag_display_name` be `str | None` and set a default for it



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to