摘要: FastAPI 允许你为参数声明额外的信息和校验。 让我们以下面的应用程序为例: from typing import Optional from fastapi import FastAPI app = FastAPI() @app.get("/items/") async def read_it 阅读全文
posted @ 2020-07-10 23:23 DaisyLinux 阅读(672) 评论(0) 推荐(0) 编辑