jscheffl opened a new pull request, #59851: URL: https://github.com/apache/airflow/pull/59851
Another small (in this case rather medium complex) increment to remove global statements for PR https://github.com/apache/airflow/pull/58116 This removes (most of the) global statements from plugins_manager.py where the a lot of state was hold in variables used with `global`, smelled a bit like a public interface and needed slight refactoring in other parts of the core to use proper access methods. Using a private container class as well as 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]
