You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Imberman (Jira)" <ji...@apache.org> on 2020/03/25 19:30:00 UTC

[jira] [Closed] (AIRFLOW-421) code view cannot find source files consistently since 1.7.1

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

Daniel Imberman closed AIRFLOW-421.
-----------------------------------
    Resolution: Auto Closed

> code view cannot find source files consistently since 1.7.1
> -----------------------------------------------------------
>
>                 Key: AIRFLOW-421
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-421
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>            Reporter: sulphide
>            Priority: Major
>
> There was a change in 1.7.1 to locate source files for the code view using the modules __name__ instead of its filepath. the problem is that all our modules have the same name and can only be differentiated by filepath. e.g. our file path pattern is
> etls/<etl_name>/airflow_pipeline.py
> and all our dag files have that same filename. Since 1.7.1 airflow can no longer distinguish one file from another, which breaks the code view(it always shows the same file regardless of dag_id).
> here is the associated code change:
> https://github.com/apache/incubator-airflow/commit/975b90ec3ce6410a0b578b7d031dc3d92874bcb2#diff-948e87b4f8f644b3ad8c7950958df033L636



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