摘要: FastAPI的路径操作函数,可以使用async def定义: from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hel 阅读全文
posted @ 2022-11-15 22:14 测试开发Gang 阅读(3080) 评论(0) 推荐(0)