NagaSurya11 commented on issue #55121:
URL: https://github.com/apache/airflow/issues/55121#issuecomment-3245031540

   hi @vatsrahul1001  i have organized dags folder as per my organization.
   
   this is the structure 
   
   dags/org/common/….
   dags/org/pipelines/….
   
   common folder has custom hooks and operators 
   
   common folder is added in .airflowignore
   
   that is not a problem
   
   but pipelines folder has config.py as well as dag.py
   
   dag.py uses config.py python variables and also some operators on custom
   
   if i done some errors in config.py variables like declaring dict key values 
with = instead of : 
   first time dag is not loaded and shown error
   
   next time i fixed the syntax issues and reloaded the dag the error is not 
cleared
   
   here config.py is not a dag file which has only variables reproducable in 
all 3x  versions
   
   if i clear airflow metadata db and restarted the airflow error is cleared if 
no errors in config.py file
   
   dag.py is working fine if errors in dag.py which is cleared
   
   
   
   


-- 
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]

Reply via email to