Skip to content

Commit

Permalink
Set Y document path
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Oct 24, 2022
1 parent e100c61 commit 8db6b68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyter_server_ydoc/ydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def get_file_info(self) -> Tuple[str, str, str]:
file_id: str
file_format, file_type, file_id = room_name.split(":", 2)
file_path = self._id2path(file_id)
self.room.document.path = file_path
return file_format, file_type, file_path

def set_file_info(self, value: str) -> None:
Expand Down

0 comments on commit 8db6b68

Please sign in to comment.