astronomer / dag-factory

Dynamically generate Apache Airflow DAGs from YAML configuration files
Apache License 2.0
1.21k stars 182 forks source link

Support dag_display_name property #233

Open aliellis opened 1 month ago

aliellis commented 1 month ago

Hi there, correct me if im wrong but dag-factory doesn't seem to support the dag_display_name property?

expected config/behaviour:

example_dag:
  default_args:
    owner: "a-person"
    start_date: '2024-10-08'
  schedule_interval: None
  catchup: False
  description: 'Responsible for running an example DAG'
  dag_display_name: "Pretty Example DAG"

We then get a DAG called "Pretty Example DAG" not "example_dag"

Looks like it can be tagged on anywhere around here? Happy to submit an MR if thats the case :)

tatiana commented 1 month ago

Hi @aliellis , indeed, it seems to be the case. Please, if you could submit a PR, it would be apreciated!

aliellis commented 1 month ago

Hi @aliellis , indeed, it seems to be the case. Please, if you could submit a PR, it would be apreciated!

Sweet, will do, thanks!