摘要: 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:15 测试开发刚哥 阅读(2032) 评论(0) 推荐(0) 编辑