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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for flask-restful-routing-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063f4e4b2d72156e64140931c31cbc17b7a5480f196308818aa8891e568aff50 |
|
MD5 | 7c79b69ee8c16742c27d190a63747529 |
|
BLAKE2b-256 | 7890043230d729d7452811860d695b5d0b2169ef9848058eb0e5439970c771b2 |