With gunicorn I found it quite useful to put wsgi_app = "mypackage:create_app()" into gunicorn.conf.py, that way running the server was as simple as running gunicorn.
With hypercorn it would be useful to have an asgi_app setting to do the same. That way, running my server would be as simple as running hypercorn -c hypercorn.conf.toml.
With gunicorn I found it quite useful to put
wsgi_app = "mypackage:create_app()"
intogunicorn.conf.py
, that way running the server was as simple as runninggunicorn
.With hypercorn it would be useful to have an
asgi_app
setting to do the same. That way, running my server would be as simple as runninghypercorn -c hypercorn.conf.toml
.