mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore(sync): remove useless dependencies from ws.py
This commit is contained in:
parent
def915c561
commit
1d9b086115
1 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue