☰
Debian Codegraph
@
0.141.1-2
0.141.1-1
0.135.3-1
/
/
docs_src
/
path_params
/
tutorial003b_py310.py
☽
☼
docs_src/path_params/tutorial003b_py310.py
code
plain
raw
Expat
(c) 2018 Sebastián RamÃrez
debian/copyright
1
from fastapi import FastAPI
2
3
app = FastAPI()
4
5
6
@app.get("/users")
7
async def read_users():
8
return ["Rick", "Morty"]
9
10
11
@app.get("/users")
12
async def read_users2():
13
return ["Bean", "Elfo"]