apache / apache/airflow

Support Serialized DAGs on CLI Commands

Open
#15,306 8 comments 0 reactions 0 assignees View on GitHub
area:CLI good first issue kind:feature priority:low
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

Description

**Description**

CLI commands such as backfill and list_dags currently parse dags before executing. This introduces 2 primary issues. 1) That parse process can be time consuming, and 2) It will not work if running on a web server that does not have access to DAGs and/or their respective Python libraries or Airflow plugins.

**Use case / motivation**

By providing users an option to use serialized DAGs with the Airflow CLI, users can opt for the more efficient method of executing commands based on the information available in the metadatabase rather than relying solely on parsing the source DAGs.

**Are you willing to submit a PR?**

Yes

**Related Issues**

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.