[ https://issues.apache.org/jira/browse/AIRFLOW-6888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaxil Naik updated AIRFLOW-6888: -------------------------------- Description: 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} was: List creation and assignment can be combined to a single command: {noformat} dags_to_trigger = [] dags_to_trigger.append(dag) {noformat} > 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 > > 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)