☰
Debian Codegraph
@
2.24.0-1
/
/
docs
/
examples
/
signature_namespace
/
app.py
☽
☼
docs/examples/signature_namespace/app.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 __future__ import annotations
2
3
from litestar import Litestar
4
5
from .controller import MyController
6
from .domain import Model
7
8
app = Litestar(route_handlers=[MyController], signature_types=[Model])