-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Trying to instantiate and set a YNotebook fails with jupyter_ydoc v0.3.2. Downgrading y-py from v0.6.0 to v0.5.5 fixes the issue.
Reproduce
pip install jupyter_ydoc==0.3.2- Execute the following Python code:
from jupyter_ydoc import YNotebook
nb = {"cells": []}
ynb = YNotebook()
ynb.set(nb)- See error:
Err(PyErr { type: <class 'y_py.MultipleIntegrationError'>, value: MultipleIntegrationError("Cannot integrate a nested Ypy object because is already integrated into a YDoc: {'id': '1d9dbf0a-34ac-46a4-bef9-101fb83d4cea', 'cell_type': 'code', 'execution_count': 1, 'metadata': YMap({}), 'outputs': YArray([]), 'source': YText(1 + 1)}"), traceback: None })
Expected behavior
No error.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working