Monkey patches to keep flask-restx working with latest flask and werkzeug.
Project description
restx-monkey
Monkey patches for unmaintained flask-restx python package to keep it restx compatible with the latest flask and werkzeug.
Usage
To install restx_monkey, use pip:
pip install -U restx-monkey
Before importing flask-restx
apply all patches in your main module:
# app main file
import restx_monkey as monkey
monkey.patch_restx()
# after patch import other modules
import flask_restx
# your other code
or select which patches you do not want to apply
# app main file
import restx_monkey as monkey
monkey.patch_restx(fix_restx_api=False)
# after patch import other modules
import flask_restx
# your other code
Goal of project
Keep flask-restx compatible with the latest flask and werkzeug as long as it is reasonable simple to monkey patch it.
What this project is not
This project does not solve incompatibilities of other python packages using flask-restx.
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
restx-monkey-0.2.1.tar.gz
(18.1 kB
view hashes)
Built Distribution
Close
Hashes for restx_monkey-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58fff520fbc5c2b12ab032e5cc46ce25635e7ec9fa1381858a3ff919b097da6f |
|
MD5 | 16b3b90fbabd699076f80a8ca0c818a5 |
|
BLAKE2b-256 | a35c3e0c27533b1c7efa68ca382868f0c2b8e9be74bd4d1ea15e4cf34cb87c28 |