tomoya hace 2 años
padre
commit
222d2cbaf9
Se han modificado 2 ficheros con 6 adiciones y 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