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