You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jonathan Simozar (JIRA)" <ji...@apache.org> on 2019/05/22 03:39:00 UTC

[jira] [Created] (AIRFLOW-4555) Webserver DAG code does not match DAG code in file

Jonathan Simozar created AIRFLOW-4555:
-----------------------------------------

             Summary: Webserver DAG code does not match DAG code in file
                 Key: AIRFLOW-4555
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4555
             Project: Apache Airflow
          Issue Type: Bug
          Components: webserver
    Affects Versions: 1.10.3, 1.10.2, 1.10.1, 1.10.0, 1.9.0
            Reporter: Jonathan Simozar
         Attachments: Webserver Code Tab.png, dag_factory.py, dag_from_factory.py

When using a factory method to create a DAG in a utility file to create a DAG in a different file, the *Code* tab in the webserver displays the utility file code rather than the file which the DAG was declared in. Attached are
 * the utility file containing the factory method for creating DAGs (dag_factory.py)
 * the file in which the DAG is created from the factory method (dag_from_factory.py)
 * a screen shot of a the *Code* tab of the webserver showing the code of the utility file (Webserver Code Tab.png)

To be clear, I would expect the *Code* tab to show the contents of _dag_from_factory.py_ not the contents of _dag_factory.py_



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)