Debian Codegraph @

docs/examples/todo_app/hello_world.py

raw
1 from litestar import Litestar, get
2
3
4 @get("/")
5 async def hello_world() -> str:
6 return "Hello, world!"
7
8
9 app = Litestar([hello_world])