From a40da5b494511f6c818ef73537ad59e6d7528d2a Mon Sep 17 00:00:00 2001 From: Nicolas Brichet Date: Tue, 2 Apr 2024 11:24:34 +0200 Subject: [PATCH] Fix YBaseDoc import --- jupyter_collaboration/ychat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jupyter_collaboration/ychat.py b/jupyter_collaboration/ychat.py index 023106b6..5328a768 100644 --- a/jupyter_collaboration/ychat.py +++ b/jupyter_collaboration/ychat.py @@ -8,10 +8,11 @@ from typing import Any, Callable, List import jupyter_ydoc +from jupyter_ydoc.ybasedoc import YBaseDoc from pycrdt import Array, Map -class YChat(jupyter_ydoc.YBaseDoc): +class YChat(YBaseDoc): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._ydoc["content"] = self._ycontent = Map()