Added server/models.py
Updated server/server.py
This commit is contained in:
parent
d4eca4c22f
commit
c5fb8bc22d
5
server/models.py
Normal file
5
server/models.py
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
class Message(BaseModel):
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2,6 +2,7 @@ from sanic.response import HTTPResponse
|
||||||
from sanic import Sanic, Request, response
|
from sanic import Sanic, Request, response
|
||||||
from cryptography.fernet import Fernet
|
from cryptography.fernet import Fernet
|
||||||
|
|
||||||
|
|
||||||
import rsa
|
import rsa
|
||||||
|
|
||||||
app = Sanic("app")
|
app = Sanic("app")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user