You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (Jira)" <ji...@apache.org> on 2020/02/23 12:18:00 UTC
[jira] [Resolved] (AIRFLOW-6888) Replace List creation in
experimental/trigger_dag.py
[ https://issues.apache.org/jira/browse/AIRFLOW-6888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaxil Naik resolved AIRFLOW-6888.
---------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
> 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)