jroachgolf84 commented on issue #61166: URL: https://github.com/apache/airflow/issues/61166#issuecomment-3818408518
This comment is outside the scope of the actual feature request. But I would strongly discourage adding "top-level" code to your DAG (retrieving those Variables when parsing the DAG). This can put a strain on your scheduler/DAG processor, and is not Airflow-best practice. https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html#top-level-python-code -- 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]
