GitHub user praveen-rekhapalli edited a comment on the discussion: Import error 
: need to restart dag processor

extraEnv: |
  - name: AIRFLOW__CORE__LAZY_LOAD_PLUGINS
    value: "False" makes the helper/ util moduels to be compiled along with the 
dag and prevents the restart of dag_processor also if using the helper outside 
the plugins folder add this line import os, sys
sys.path.insert(0, '/opt/airflow/dags/') to the dag file where the 
/opt/airflow/dags is the location where the dags are loaded

GitHub link: 
https://github.com/apache/airflow/discussions/39976#discussioncomment-10994278

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to