FastAPI hello-word
摘要:
from typing import Optional from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{ite 阅读全文
posted @ 2021-07-21 01:27 luckygxf 阅读(57) 评论(0) 推荐(0) 编辑