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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f641ec848f0a109f489be583816302a2ab42f21748426183a6eb75700b0cbb9e |
|
MD5 | 6f45c5a7a6df554518eb8de32bd5a133 |
|
BLAKE2b-256 | 2ef8a40daeab6cc1c5350f01a9b1905726bbc634398b71b50434cd34511ac3f6 |