Explorar o código

change test env from get to post

ming %!s(int64=3) %!d(string=hai) anos
pai
achega
d0fd1ec772
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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