Skip to content

Enhance API Support for Filtering DAGs with Asset-Based Schedules #53740

Description

@AryanK1511

Description

Improve the ability to filter DAGs based on their asset-based scheduling configuration, building upon the existing asset_expression support.

Proposed Solution

Add new query parameters to filter DAGs based on their asset scheduling configuration:

  • has_asset_schedule: Filter DAGs that use asset-based scheduling
  • asset_dependency: Filter DAGs by specific asset dependencies

Use case/motivation

While asset_expression is included in DAGWithLatestDagRunsResponse, there's no dedicated filter parameter to query DAGs based on their asset-based scheduling properties. This makes it difficult to find DAGs that depend on specific assets or have asset-based triggers. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions