Explorar o código

Merge branch 'master' of http://git.choozmo.com:3000/ai-anchor/video-maker

tomoya %!s(int64=2) %!d(string=hai) anos
pai
achega
7a25e9d718
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  1. 1 0
      backend/app/app/schemas/__init__.py
  2. 5 0
      backend/app/app/schemas/msg.py

+ 1 - 0
backend/app/app/schemas/__init__.py

@@ -1,3 +1,4 @@
 from .token import Token, TokenPayload
 from .user import User, UserCreate, UserInDB, UserUpdate
+from .msg import Msg
 from .video import Video, VideoCreate, VideoInDB, VideoUpdate

+ 5 - 0
backend/app/app/schemas/msg.py

@@ -0,0 +1,5 @@
+from pydantic import BaseModel
+
+
+class Msg(BaseModel):
+    msg: str