1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

13 lines
228 B
Python
Raw Normal View History

2019-12-31 18:30:48 -07:00
"""hyperglass web app initiator."""
def start():
2020-01-20 00:32:42 -07:00
"""Start the web server with Uvicorn ASGI."""
import uvicorn
2020-01-20 10:17:52 -07:00
from hyperglass.hyperglass import app, ASGI_PARAMS
2019-12-31 18:30:48 -07:00
2020-01-20 10:17:52 -07:00
uvicorn.run(app, **ASGI_PARAMS)
app = start()