airflow icon indicating copy to clipboard operation
airflow copied to clipboard

Add API Support for Filtering DAGs by Timetable Type

Open henry3260 opened this issue 1 month ago • 5 comments

relate: #53738


^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

henry3260 avatar Nov 29 '25 18:11 henry3260

Up here, @uranusjr the PR was just merged. That's needed for https://github.com/apache/airflow/pull/58848

pierrejeambrun avatar Dec 03 '25 10:12 pierrejeambrun

After the timetable change, each built-in timetable has two identities, one in SDK and one in Core. I think it’d be a good idea for built-in timetables’ type_name to simply be the class name instead of the full import path to avoid user confusion. Custom timetables should still use the full import path as in this PR.

uranusjr avatar Dec 08 '25 11:12 uranusjr

cc @potiuk

henry3260 avatar Dec 08 '25 18:12 henry3260

cc @potiuk

Not sure why I am called but I agree with @uranusjr

potiuk avatar Dec 09 '25 00:12 potiuk

BTW. @henry3260 -> you have conflicts to solve. I don't think you can get too far in getting it merged, before you do :)

potiuk avatar Dec 09 '25 13:12 potiuk

We should also add some test cases on the type_name property to ensure its logic between built-in and custom timetables.

uranusjr avatar Dec 11 '25 09:12 uranusjr