Skip to content

Commit

Permalink
Fix YBaseDoc import
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Apr 2, 2024
1 parent acfec42 commit a40da5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyter_collaboration/ychat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a40da5b

Please sign in to comment.