You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/09 16:45:42 UTC
[GitHub] [airflow] kaxil commented on a change in pull request #7644:
[AIRFLOW-7003] Lazy load all plguins
kaxil commented on a change in pull request #7644: [AIRFLOW-7003] Lazy load all plguins
URL: https://github.com/apache/airflow/pull/7644#discussion_r389818149
##########
File path: airflow/plugins_manager.py
##########
@@ -183,103 +199,117 @@ 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 endure_plugins_loaded():
Review comment:
```suggestion
def ensure_plugins_loaded():
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services