chore(sync): remove useless dependencies from ws.py

This commit is contained in:
Alexis Métaireau 2024-05-10 00:38:24 +02:00
parent 81554d1e2e
commit 57355eb4c5
No known key found for this signature in database
GPG key ID: 1C21B876828E5FF2

View file

@ -8,7 +8,7 @@ import django
import websockets import websockets
from django.conf import settings from django.conf import settings
from django.core.signing import TimestampSigner from django.core.signing import TimestampSigner
from pydantic import BaseModel, ValidationError from pydantic import BaseModel
from websockets import WebSocketClientProtocol from websockets import WebSocketClientProtocol
from websockets.server import serve from websockets.server import serve
@ -19,7 +19,6 @@ from umap.settings import settings_as_dict
settings.configure(**settings_as_dict) settings.configure(**settings_as_dict)
django.setup() django.setup()
from sesame.utils import get_user # NOQA
from umap.models import Map, User # NOQA from umap.models import Map, User # NOQA
# Contains the list of websocket connections handled by this process. # Contains the list of websocket connections handled by this process.