potiuk commented on PR #30259:
URL: https://github.com/apache/airflow/pull/30259#issuecomment-1481805892

   Yeah. I really did not want to discourage it - if we can improve the 
situation, that would be win-win for everyone  (though it has a little impact 
on slower "education" of users who might realise top-level code is bad later. 
   
   I am really seriously thinking that the right solution is not to "mitigate 
the problem" but to "prominently make users aware that they are not doing the 
right thing".  Trying to to think out-of-the-box - maybe a good solution will 
be to display a warning in the UI (you are using Variables at the top-level and 
this is a bad idea). I am afraid we are trying to apply a band-aid which might 
at most delay the probem and the right thing is to influence (and clearly flag 
problems) changing the behaviour of the users rather than trying to catch-up 
with the bad behaviours.


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