I recently moved to google composer from airflow server,what is the recommended folder structure for dags, sub dags, config files ?
- Error message, getting Broken DAG:
[/home/airflow/gcs/dags/cdp/box/cdp_box_audit.py] No module named dags.box
- Current structure:
->dags ->box (note:project name as a folder) cdp_box_audit.py
->dags ->box ->code ->python ->config dags_config.py
In the cdp_box_audit.py
file, I have below line but composer is not able to detect the dags_config file:
from dags.box.code.python.config import dags_config