📝 Add docs for debugging

This commit is contained in:
Sebastián Ramírez
2019-03-02 17:40:01 +04:00
parent 74db8ddf9b
commit 01d6aa3dd1
4 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import uvicorn
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def root():
a = "a"
b = "b" + a
return {"hello world": b}
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000)