from litestar import Litestar
from litestar import get
@get("/")
async def index() -> str:
return "<h1>Hello Litestar</h1>"
app = Litestar([index])