Skip to content

Add Support for Filtering DAGs by Timetable Type #53738

@AryanK1511

Description

@AryanK1511

Description

Add the ability to filter DAGs based on their Timetable type (e.g., CronTriggerTimetable, AssetOrTimeSchedule) in both the UI and public DAG APIs.

Proposed Solution

Add a new query parameter timetable_type to the DAG listing endpoints that allows filtering DAGs based on their timetable type.

Use case/motivation

Currently, while the DAG model stores timetable information in the timetable_summary field, there is no API support to filter DAGs based on their timetable type. Users cannot easily find all DAGs that use a specific type of timetable. This functionality is crucial to fix #53041. Once this is implemented, the UI filter functionality will be built on top of this.

Related issues

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions