Skip to content

Commit

Permalink
build(pyproject.toml): add types-redis to test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cacosandon committed Mar 30, 2024
1 parent cbd1a91 commit 889db49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pycrdt_websocket/django_channels/yjs_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ async def propagate_document_update_from_external(room_name, update):

def __init__(self):
super().__init__()
self.room_name: str | None = None
self.ydoc: Doc | None = None
self.room_storage: BaseYRoomStorage | None = None
self._websocket_shim: _WebsocketShim | None = None
self.room_name = None
self.ydoc = None
self.room_storage = None
self._websocket_shim = None

def make_room_storage(self) -> BaseYRoomStorage | None:
"""Make the room storage for a new channel to persist the YDoc permanently.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ test = [
"hypercorn >=0.16.0",
"trio >=0.25.0",
"sniffio",
"types-redis",
]
docs = [
"mkdocs",
Expand Down

0 comments on commit 889db49

Please sign in to comment.