potiuk commented on issue #18448:
URL: https://github.com/apache/airflow/issues/18448#issuecomment-926091174


   I think if importing your DAG takes > 30 seconds, then you simply  try to do 
too much in your DAG's Top-Level code:
   
   I just published some updates to documentation related to that - please read 
the docs and follow them:
   
   
https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html#top-level-python-code
   
   and: 
   
   
https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html#reducing-dag-complexity
   


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