Closed dlqqq closed 6 months ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
See #77.
Problem
Currently, one must bind an empty shared type to Ydoc keys before accessing their values:
There are two drawbacks to only supporting this way of accessing a shared type:
ydoc.getArray(...)
can be used inline.:=
(available in Python 3.8+) does not work either:ydoc["cells"]
is not the value ofydoc["cells"]
that was just set in the immediately preceding line. This generally violates how most programming languages work. I understand that this is permitted by Python, but the public API should not rely on exotic behavior exclusive to Python.Proposed Solution
TBD.
Additional context