☰
Debian Codegraph
@
1.6.3-1
/
/
docs
/
src
/
tutorial
/
query
/
code01.py
☽
☼
docs/src/tutorial/query/code01.py
code
plain
raw
symbols
SCIP
Expat
2020 - 2026 Vitaliy Kucheryaviy <
[email protected]
>
debian/copyright
1
weapons = [
"Ninjato"
,
"Shuriken"
,
"Katana"
,
"Kama"
,
"Kunai"
,
"Naginata"
,
"Yari"
]
2
3
4
@
api
.
get
(
"/weapons"
)
5
def
list_weapons
(request, limit:
int
=
10
, offset:
int
=
0
):
6
return
weapons[offset: offset + limit]