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

Xiaodong DENG updated AIRFLOW-2818:
-----------------------------------
    Summary: Cant' identify DAG .py files with capital case extension ('.PY', 
'.Py', '.pY')  (was: Cant' identify DAG .py files with capital case extension 
('.PY' rather than '.py'))

> Cant' identify DAG .py files with capital case extension ('.PY', '.Py', '.pY')
> ------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-2818
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2818
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: DAG
>            Reporter: Xiaodong DENG
>            Assignee: Xiaodong DENG
>            Priority: Major
>
> This bug is quite simply. 
> In multiple scripts in which we try to identify and list python files, the 
> capital case extension was not considered. For example, if I have a DAG file 
> with file name "dag.py", it will be identified. However, if I change the name 
> into "dag.PY", it will be missed by Airflow.
> This is because simply using function *os.path.splitext()* can not handle 
> case issue.



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

Reply via email to