You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/12/17 23:33:00 UTC

[jira] [Updated] (AIRFLOW-3576) Remove unnecessray arg 'root' in url_for("airflow.delete", dag_id=dag.dag_id, root=root)

     [ https://issues.apache.org/jira/browse/AIRFLOW-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk updated AIRFLOW-3576:
----------------------------------
    Fix Version/s: 2.0.0

> Remove unnecessray arg 'root' in url_for("airflow.delete", dag_id=dag.dag_id, root=root)
> ----------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-3576
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3576
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Xiaodong Deng
>            Assignee: Xiaodong Deng
>            Priority: Major
>             Fix For: 2.0.0
>
>
> In airflow/www/templates/airflow/dag.html or airflow/www_rbac/templates/airflow/dag.html, in line *<a href="{{ url_for("airflow.delete", dag_id=dag.dag_id, root=root) }}**"*, *root* is not necessary, given it's not used anywhere in the '/delete' method in either *airflow/www/views.py* or *airflow/www_rbac/views.py*.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)