mik-laj commented on a change in pull request #7644: [AIRFLOW-7003] Lazy load all plguins URL: https://github.com/apache/airflow/pull/7644#discussion_r389773706
########## File path: airflow/plugins_manager.py ########## @@ -183,103 +202,116 @@ def make_module(name: str, objects: List[Any]): # pylint: enable=protected-access -# Plugin components to integrate as modules -operators_modules = [] -sensors_modules = [] -hooks_modules = [] -executors_modules = [] -macros_modules = [] +def load_plugins(): + """ + Load plugins from plugins directory and entrypoints. + Plugins are only loaded if they have not been previously loaded. Review comment: Done. ---------------------------------------------------------------- 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] With regards, Apache Git Services
