☰
Debian Codegraph
@
2.24.0-1
/
/
docs
/
examples
/
exceptions
/
implicit_media_type.py
☽
☼
docs/examples/exceptions/implicit_media_type.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 get
2
from litestar.params import FromQuery
3
4
5
@get(sync_to_thread=False)
6
def handler(q: FromQuery[int]) -> str:
7
raise ValueError