Python >= 3.6+ (for asyncio)
redis-serverif you plan to use the async redis backend storage
You can install from PyPI.
$ pip install insanic-infuse
Since Infuse is an extension for Insanic, with your initialized Insanic application.
from insanic import Insanic from infuse import Infuse app = Insanic("example", version="0.1.0") Infuse.init_app(app)
init_app does is:
Loads all the necessary infuse configurations
Serviceobject’s dispatch method to check for state before sending the request.
Initializes the applications’ status on your storage of choice during