You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to follow through the above rest_api example, and copy the exact code below to my editor but it did not work. It turned out that it is just a simple type error. It should use [route_base] instead of [base_route], please correct this asap so as not to turn off new users.
`from flask_appbuilder.api import BaseApi, expose
from . import appbuilder
I am a new FAB user here, and found a minor but frustrating error in the official documentation.
I was trying to follow through the above rest_api example, and copy the exact code below to my editor but it did not work. It turned out that it is just a simple type error. It should use [route_base] instead of [base_route], please correct this asap so as not to turn off new users.
`from flask_appbuilder.api import BaseApi, expose
from . import appbuilder
class ExampleApi(BaseApi):
appbuilder.add_api(ExampleApi)`
The text was updated successfully, but these errors were encountered: