Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask-restful-routing-1.0.3.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file flask-restful-routing-1.0.3.tar.gz.

File metadata

File hashes

Hashes for flask-restful-routing-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f641ec848f0a109f489be583816302a2ab42f21748426183a6eb75700b0cbb9e
MD5 6f45c5a7a6df554518eb8de32bd5a133
BLAKE2b-256 2ef8a40daeab6cc1c5350f01a9b1905726bbc634398b71b50434cd34511ac3f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page