[
https://issues.apache.org/jira/browse/AIRFLOW-6888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042918#comment-17042918
]
ASF subversion and git services commented on AIRFLOW-6888:
----------------------------------------------------------
Commit 520f24be8be9804b251c57bb28eba33148134fac in airflow's branch
refs/heads/master from Kaxil Naik
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=520f24b ]
[AIRFLOW-6888] Replace List creation in experimental/trigger_dag.py (#7511)
> Replace List creation in experimental/trigger_dag.py
> ----------------------------------------------------
>
> Key: AIRFLOW-6888
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6888
> Project: Apache Airflow
> Issue Type: Improvement
> Components: api
> Affects Versions: 2.0.0
> Reporter: Kaxil Naik
> Assignee: Kaxil Naik
> Priority: Minor
> Fix For: 2.0.0
>
>
> List creation and assignment can be combined to a single command:
> *Before*:
> {noformat}
> dags_to_trigger = []
> dags_to_trigger.append(dag)
> {noformat}
> *After*:
> {noformat}
> dags_to_trigger = [dag]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)