From cf4c37d695d44ff3f5bddde8afe07febf857141d Mon Sep 17 00:00:00 2001 From: Jialin Zhang Date: Thu, 2 May 2024 10:50:34 -0700 Subject: [PATCH] adding await ystore start method in prepare method --- jupyter_collaboration/handlers.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jupyter_collaboration/handlers.py b/jupyter_collaboration/handlers.py index dcbfd6a8..e0485e82 100644 --- a/jupyter_collaboration/handlers.py +++ b/jupyter_collaboration/handlers.py @@ -111,6 +111,7 @@ def exception_logger(exception: Exception, log: Logger) -> bool: file = self._file_loaders[file_id] updates_file_path = f".{file_type}:{file_id}.y" ystore = self._ystore_class(path=updates_file_path, log=self.log) + await ystore.start() self.room = DocumentRoom( self._room_id, file_format, diff --git a/pyproject.toml b/pyproject.toml index 5bb2aeaf..9e9c6cad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ dependencies = [ "jupyter_server>=2.0.0,<3.0.0", "jupyter_ydoc>=2.0.0,<3.0.0", - "pycrdt-websocket>=0.13.1,<0.14.0", + "pycrdt-websocket>=0.13.2,<0.14.0", "jupyter_events>=0.10.0", "jupyter_server_fileid>=0.7.0,<1", "jsonschema>=4.18.0"