我正在尝试将本地模块( python脚本)导入到我的DAG中。目录结构:├── dag│ └── my_DAG.py └── subfolder └── local_module.py#trying to import from local module
from script.subfolderimport local_
我在Windows中有以下dir/file结构: | |_dags
|_file_mover.py在first_dag.py中,我有一个触发file_mover.py的脚本。所以当我在终端做docker-compose up --build检查webserver localhost:8080时,我确实看到了气流中的first_dag。import DA