forked from orbit-oss/flask
This allows for async functions to be passed to the Flask class
instance, for example as a view function,
@app.route("/")
async def index():
return "Async hello"
this comes with a cost though of poorer performance than using the
sync equivalent.
asgiref is the standard way to run async code within a sync context,
and is used in Django making it a safe and sane choice for this.
30 lines
588 B
Text
30 lines
588 B
Text
#
|
|
# This file is autogenerated by pip-compile
|
|
# To update, run:
|
|
#
|
|
# pip-compile requirements/tests.in
|
|
#
|
|
asgiref==3.2.10
|
|
# via -r requirements/tests.in
|
|
attrs==20.3.0
|
|
# via pytest
|
|
blinker==1.4
|
|
# via -r requirements/tests.in
|
|
greenlet==1.0.0
|
|
# via -r requirements/tests.in
|
|
iniconfig==1.1.1
|
|
# via pytest
|
|
packaging==20.9
|
|
# via pytest
|
|
pluggy==0.13.1
|
|
# via pytest
|
|
py==1.10.0
|
|
# via pytest
|
|
pyparsing==2.4.7
|
|
# via packaging
|
|
pytest==6.2.2
|
|
# via -r requirements/tests.in
|
|
python-dotenv==0.15.0
|
|
# via -r requirements/tests.in
|
|
toml==0.10.2
|
|
# via pytest
|