☰
Debian Codegraph
@
2.24.0-1
/
/
docs
/
examples
/
todo_app
/
hello_world.py
☽
☼
docs/examples/todo_app/hello_world.py
code
plain
raw
Expat
Alc <
[email protected]
>,; Cody Fincher <
[email protected]
>,; Jacob Coffee <
[email protected]
>,; Janek Nouvertné <
[email protected]
>,; Litestar Developers <
[email protected]
>,; Peter Schutt <
[email protected]
>,; Visakh Unnikrishnan <
[email protected]
>,
debian/copyright
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])