We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a06a655 commit 32d6d8aCopy full SHA for 32d6d8a
jupyter_rtc_core/rooms/yroom_file_api.py
@@ -107,7 +107,11 @@ async def get_jupyter_ydoc(self) -> YBaseDoc:
107
"""
108
# Get the content of the file from the given file ID.
109
path = self.get_path()
110
- m = await self._contents_manager.get(path, type=self.file_type, format=self.file_format)
+ m = await ensure_async(self._contents_manager.get(
111
+ path,
112
+ type=self.file_type,
113
+ format=self.file_format
114
+ ))
115
content = m['content']
116
117
# Initialize YDoc & YAwareness
0 commit comments