jscheffl commented on issue #37647: URL: https://github.com/apache/airflow/issues/37647#issuecomment-1962743732
I assume the reported problem is a mis-understanding. DAGs are not loaded by the user via dag_bag but loaded by the scheduler as defined in the Dags-Folder (e.g. via `AIRFLOW__CORE__DAGS_FOLDER` or as configured as described in https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#dags-folder). Dags are usually NOT added to python path and you don't load them yourself - the Scheduler will iterate over the DAG folder and load automatically. The process is also described here: https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/dags.html#loading-dags If you have a different problem and I mis-understood the bug report, please describe where you try to load the DAGs. As describe your configuration, how you started your scheduler and add logs. -- 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]
