Dependencies
- Python 3.7^
- Flask Restplus 0.13^
Installation
Install the package using pip, by executing:
pip install -U gwx-core
Quick start
Import the Response Module, this will handle the formatting of your responses for your flask_restplus
routes.
from gwx_core.utils import response
class User(Resource):
def get(self):
return response.success('Success', {'key': 'value'}, {'SAMPLE-HEADER': 'header value'})
Usage Documentation
To be added on beta release.