jscheffl opened a new pull request, #59772:
URL: https://github.com/apache/airflow/pull/59772

   Another small increment to remove global statements for PR 
https://github.com/apache/airflow/pull/58116
   
   This removes global statement from `app.py` where the FastAPI application 
instance and the current Auth Manager were stored as global, smelled a bit like 
a public interfaces which it should not. Using functools.cache() to prevent 
usage of global variables.
   
   `global` is evil.


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