SameerMesiah97 commented on code in PR #74127:
URL: https://github.com/apache/airflow/pull/74127#discussion_r4417630595
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/deadlines.py:
##########
@@ -182,6 +184,10 @@ def get_dag_deadline_alerts(
dag_id: str,
session: SessionDep,
limit: QueryLimit,
+ name_pattern: Annotated[
+ _SearchParam,
+ Depends(search_param_factory(DeadlineAlert.name, "name_pattern")),
Review Comment:
We could add the `name_prefix_pattern` here but that would primarily be for
the sake of consistency as the performance improvement would be minimal here
(the search is scoped to a single DAG and not a large collection). I could
proceed with that if you insist.
--
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]