kaxil commented on a change in pull request #7644: [AIRFLOW-7003] Lazy load all 
plguins
URL: https://github.com/apache/airflow/pull/7644#discussion_r389823552
 
 

 ##########
 File path: airflow/www/app.py
 ##########
 @@ -173,16 +173,16 @@ def init_views(appbuilder):
 
             def integrate_plugins():
                 """Integrate plugins to the context"""
-                from airflow.plugins_manager import (
-                    flask_appbuilder_views, flask_appbuilder_menu_links
-                )
+                from airflow import plugins_manager
 
-                for v in flask_appbuilder_views:
+                plugins_manager.endure_plugins_loaded()
 
 Review comment:
   ```suggestion
                   plugins_manager.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:
[email protected]


With regards,
Apache Git Services

Reply via email to