youngduck98 commented on code in PR #75608:
URL: https://github.com/apache/airflow/pull/75608#discussion_r4494937457


##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/ui/deadline.py:
##########
@@ -48,18 +48,12 @@ class DeadlineResponse(BaseModel):
     callback_path: str | None = Field(validation_alias=AliasPath("callback", 
"data", "path"), default=None)
 
 
-class DeadlineCollectionResponse(BaseModel):
-    """Deadline Collection serializer for responses."""
-
-    deadlines: Iterable[DeadlineResponse]
-    total_entries: int
-
-
 class DeadlineAlertResponse(BaseModel):
     """DeadlineAlert serializer for responses."""
 
     id: UUID
     name: str | None = None
+    run_type_filter: list[str] | None = None

Review Comment:
   Changed this to `list[DagRunType] | None` and regenerated the OpenAPI schema 
and TypeScript client in 
[f17794f113](https://github.com/apache/airflow/pull/75608/commits/f17794f113e4d2ae42892117738864ee4ab6738e).



-- 
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