An easier way to register flask-restful routes
Project description
Installation
pip install marshmallow-sqlalchemy-referential
Sample Usage
restful_api = Api(app)
resources = RouteRoot([
Route('login', '/login', Login),
Route('search', '/search', Search),
Route('document', '/documents', Documents, Document, [
Route('attachment', '/attachments', Attachments, Attachment)
])
])
resources.register_routes(restful_api)