mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-29 05:19:20 +00:00
12 lines
228 B
Python
12 lines
228 B
Python
"""hyperglass web app initiator."""
|
|
|
|
|
|
def start():
|
|
"""Start the web server with Uvicorn ASGI."""
|
|
import uvicorn
|
|
from hyperglass.hyperglass import app, ASGI_PARAMS
|
|
|
|
uvicorn.run(app, **ASGI_PARAMS)
|
|
|
|
|
|
app = start()
|