ezerkar opened a new issue #17714:
URL: https://github.com/apache/airflow/issues/17714
<!--
Welcome to Apache Airflow!
Please complete the next sections or the issue will be closed.
-->
**Apache Airflow version**:
v2.1.2
**OS**:
Ubuntu 20.04.1 LTS
**Deployment**:
local
**What happened**:
have a file in a parent directory I want to import from, so did this:
```
import sys
from pathlib import Path
sys.path.append(str(Path('.').absolute().parent))
from get_data_functions import *
```
this seem to be working in general python but airflow gives out a DAG import
error:
`ModuleNotFoundError: No module named 'get_data_functions'`
**Are you willing to submit a PR?**
No idea how to fix this, but if you give me some hints I could try
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]