capsul-flask/app.py

6 lines
174 B
Python
Raw Normal View History

2020-05-16 04:19:01 +00:00
from capsulflask import create_app
from capsulflask.http_client import MyHTTPClient
app = create_app(lambda timeout_seconds: MyHTTPClient(timeout_seconds=timeout_seconds))