jason810496 commented on code in PR #54341:
URL: https://github.com/apache/airflow/pull/54341#discussion_r2308828105


##########
airflow-core/src/airflow/api_fastapi/common/parameters.py:
##########
@@ -607,6 +629,7 @@ def depends_float(
 ]
 QueryTagsFilter = Annotated[_TagsFilter, Depends(_TagsFilter.depends)]
 QueryOwnersFilter = Annotated[_OwnersFilter, Depends(_OwnersFilter.depends)]
+QueryTimeTableTypesFilter = Annotated[_TimetableTypesFilter, 
Depends(_TimetableTypesFilter.depends)]

Review Comment:
   It would be nice to simplify with `filter_param_factory` with 
`FilterOptionEnum.ANY_EQUAL` approach, since there isn't special logic for this 
new added timetable filter. The normal `filter_param_factory` will be enough.



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