FastAPI 支持异步请求. 1 from fastapi import FastAPI 2 app = FastAPI() 3 @app.get("/") 4 async def read_root(): 5 return {"Hello": "World"}
確定! 回上一頁