CICD/app/widget/__init__.py
2019-08-03 12:55:38 -04:00

11 lines
254 B
Python

from .model import Widget # noqa
from .schema import WidgetSchema # noqa
BASE_ROUTE = "widget"
def register_routes(api, app, root="api"):
from .controller import api as widget_api
api.add_namespace(widget_api, path=f"/{root}/{BASE_ROUTE}")