shivanshs9 commented on a change in pull request #11742:
URL: https://github.com/apache/airflow/pull/11742#discussion_r510523634
##########
File path: airflow/www/extensions/init_views.py
##########
@@ -73,8 +73,14 @@ def init_plugins(app):
appbuilder = app.appbuilder
for view in plugins_manager.flask_appbuilder_views:
- log.debug("Adding view %s", view["name"])
- appbuilder.add_view(view["view"], view["name"],
category=view["category"])
+ try:
+ log.debug("Adding view %s with menu", view["name"])
Review comment:
Hmm.. It's technically a valid string, I doubt the user would expect
that to actually mean None.
It might be more possible to user to pass an empty string though.
----------------------------------------------------------------
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]