Skip to content

Commit

Permalink
adding await ystore start method in prepare method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jialin Zhang committed May 2, 2024
1 parent 220169e commit cf4c37d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jupyter_collaboration/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cf4c37d

Please sign in to comment.