☰
Debian Codegraph
@
0.141.1-2
0.141.1-1
0.135.3-1
/
/
docs_src
/
debugging
/
tutorial001_py310.py
☽
☼
docs_src/debugging/tutorial001_py310.py
code
plain
raw
Expat
(c) 2018 Sebastián RamÃrez
debian/copyright
1
import uvicorn
2
from fastapi import FastAPI
3
4
app = FastAPI()
5
6
7
@app.get("/")
8
def root():
9
a = "a"
10
b = "b" + a
11
return {"hello world": b}
12
13
14
if __name__ == "__main__":
15
uvicorn.run(app, host="0.0.0.0", port=8000)