jedcunningham commented on a change in pull request #20487:
URL: https://github.com/apache/airflow/pull/20487#discussion_r774922244
##########
File path: airflow/www/extensions/init_appbuilder.py
##########
@@ -530,14 +523,6 @@ def add_view_no_menu(self, baseview, endpoint=None,
static_folder=None):
log.warning(LOGMSG_WAR_FAB_VIEW_EXISTS.format(baseview.__class__.__name__))
return baseview
- def add_api(self, baseview):
- """
- Add a BaseApi class or child to AppBuilder
- :param baseview: A BaseApi type class
- :return: The instantiated base view
- """
- return self.add_view_no_menu(baseview)
Review comment:
Yeah, it's certainly not foolproof, but the examples and docs in FAB use
this method: https://flask-appbuilder.readthedocs.io/en/latest/rest_api.html
--
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]