瀏覽代碼

change test env from get to post

ming 3 年之前
父節點
當前提交
d0fd1ec772
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      api/main.py

+ 1 - 0
api/main.py

@@ -1,6 +1,7 @@
 from fastapi import FastAPI,Cookie, Depends, Query, status,File, UploadFile,Request,Response,HTTPException
 from fastapi.templating import Jinja2Templates
 from fastapi.responses import HTMLResponse, RedirectResponse, JSONResponse
+from pydantic import BaseModel
 from typing import List, Optional
 from os.path import isfile, isdir, join
 import threading