apache/airflow

Support Serialized DAGs on CLI Commands

Open

#15,306 创建于 2021年4月9日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)Python (16,781 fork)batch import
area:CLIgood first issuekind:featurepriority:low

仓库指标

Star
 (44,809 star)
PR 合并指标
 (平均合并 7天 18小时) (30 天内合并 834 个 PR)

描述

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

贡献者指南