Skip to content

Commit

Permalink
Pass logger to YStore (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored Nov 23, 2022
1 parent 0135634 commit 5d5f6dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyter_server_ydoc/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_room(self, path: str) -> YRoom:
p = Path(file_path)
updates_file_path = str(p.parent / f".{file_type}:{p.name}.y")
ystore = self.ystore_class(
path=updates_file_path, metadata_callback=metadata_callback
path=updates_file_path, metadata_callback=metadata_callback, log=self.log
)
self.rooms[path] = DocumentRoom(file_type, ystore, self.log)
else:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ classifiers = [
requires-python = ">=3.7"
dependencies = [
"jupyter_ydoc>=0.2.0,<0.4.0",
"ypy-websocket>=0.6.0,<0.7.0",
"ypy-websocket>=0.7.1,<0.8.0",
"jupyter_server_fileid >=0.6.0,<1"
]

Expand Down

0 comments on commit 5d5f6dd

Please sign in to comment.