potiuk opened a new issue #11925:
URL: https://github.com/apache/airflow/issues/11925


   **Description**
   
   It would be great to make a big, hairy warning when someone tries to use 
Variable.get() or Connection or any other method that hits Airflow's database 
during DAG parsing. This is a very bad practice, resulting in opening and 
closing DB connections and it is too easy to use and too difficult to spot that 
it is actually a problem.
   
   **Use case / motivation**
   
   Guide our users to write good DAGs.
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to