Closed davidbrochart closed 1 year ago
@fcollonval I believe commit https://github.com/jupyter-server/jupyter_ydoc/pull/122/commits/b7ab80a2a553e98ec8e9049d69f65c7f4d65dc4d addresses your concerns in #65. See https://github.com/jupyter-server/jupyter_server_ydoc/pull/72 for an example of the change required in the callback.
You probably need to update the signature of
YBaseDoc.observe
too.
Yes, thanks.
Commit https://github.com/jupyter-server/jupyter_ydoc/pull/122/commits/a75ea4e79d56180ea4d86a96a03d9cb3f1183517 partially addresses #123 by adding YUTF8
(same as YFile
) and YBytes
. YBytes
doesn't support changing individual bytes, only the whole content (see https://github.com/y-crdt/ypy/issues/108#issuecomment-1376730696).
Closes #65.