☰
Debian Codegraph
@
0.141.1-2
0.141.1-1
0.135.3-1
/
/
tests
/
test_modules_same_name_body
/
app
/
a.py
☽
☼
tests/test_modules_same_name_body/app/a.py
code
plain
raw
Expat
(c) 2018 Sebastián RamÃrez
debian/copyright
1
from fastapi import APIRouter, Body
2
3
router = APIRouter()
4
5
6
@router.post("/compute")
7
def compute(a: int = Body(), b: str = Body()):
8
return {"a": a, "b": b}