Added server/models.py

Updated server/server.py
This commit is contained in:
mirai 2022-12-01 10:42:12 +03:00
parent d4eca4c22f
commit c5fb8bc22d
2 changed files with 6 additions and 0 deletions

5
server/models.py Normal file
View File

@ -0,0 +1,5 @@
from pydantic import BaseModel
class Message(BaseModel):

View File

@ -2,6 +2,7 @@ from sanic.response import HTTPResponse
from sanic import Sanic, Request, response
from cryptography.fernet import Fernet
import rsa
app = Sanic("app")