Exposing Asynchronous endpoint using Flask-RestPlus
Mocking Celery
To mock celery, the best is still to use the celery_mock.CeleryMock class.
Mocking Huey
To mock huey, the best is still to update the Huey application before starting the Flask app by setting immediate to True.
How to install
- python 3.7+ must be installed
- Use pip to install module:
python -m pip install flasynk