jupyter-ydoc 3.0.0a4__py3-none-any.whl → 3.0.0a6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jupyter_ydoc/_version.py +1 -1
- jupyter_ydoc/ynotebook.py +1 -11
- {jupyter_ydoc-3.0.0a4.dist-info → jupyter_ydoc-3.0.0a6.dist-info}/METADATA +1 -1
- {jupyter_ydoc-3.0.0a4.dist-info → jupyter_ydoc-3.0.0a6.dist-info}/RECORD +7 -7
- {jupyter_ydoc-3.0.0a4.dist-info → jupyter_ydoc-3.0.0a6.dist-info}/WHEEL +0 -0
- {jupyter_ydoc-3.0.0a4.dist-info → jupyter_ydoc-3.0.0a6.dist-info}/entry_points.txt +0 -0
- {jupyter_ydoc-3.0.0a4.dist-info → jupyter_ydoc-3.0.0a6.dist-info}/licenses/LICENSE +0 -0
jupyter_ydoc/_version.py
CHANGED
jupyter_ydoc/ynotebook.py
CHANGED
|
@@ -222,17 +222,7 @@ class YNotebook(YBaseDoc):
|
|
|
222
222
|
nb_without_cells = {key: value[key] for key in value.keys() if key != "cells"}
|
|
223
223
|
nb = copy.deepcopy(nb_without_cells)
|
|
224
224
|
cast_all(nb, int, float) # Yjs expects numbers to be floating numbers
|
|
225
|
-
cells = value["cells"]
|
|
226
|
-
{
|
|
227
|
-
"cell_type": "code",
|
|
228
|
-
"execution_count": None,
|
|
229
|
-
# auto-created empty code cell without outputs ought be trusted
|
|
230
|
-
"metadata": {"trusted": True},
|
|
231
|
-
"outputs": [],
|
|
232
|
-
"source": "",
|
|
233
|
-
"id": str(uuid4()),
|
|
234
|
-
}
|
|
235
|
-
]
|
|
225
|
+
cells = value["cells"]
|
|
236
226
|
|
|
237
227
|
with self._ydoc.transaction():
|
|
238
228
|
# clear document
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
jupyter_ydoc/__init__.py,sha256=cVoElIvmvfj0IECe1gKe3f5vyyO7Dq7dMB_A0s2zjs4,649
|
|
2
|
-
jupyter_ydoc/_version.py,sha256=
|
|
2
|
+
jupyter_ydoc/_version.py,sha256=RGt806ii0jkchAcX1argcltI2sIgOyfoOvOW0m54AZ8,173
|
|
3
3
|
jupyter_ydoc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
jupyter_ydoc/utils.py,sha256=jnjF2uNmioh0z_4ymmMSYiB_2dAKSLmNFzVvR5V5Td0,883
|
|
5
5
|
jupyter_ydoc/ybasedoc.py,sha256=68oZ_0s-uITkBZz8syvw_DvDK_Uht7CHl6slaVSrSqM,4840
|
|
6
6
|
jupyter_ydoc/yblob.py,sha256=kTBSgQfUBpzwbfRCP8cs02PIliLoZB2oixrGOdpFsbw,1999
|
|
7
7
|
jupyter_ydoc/yfile.py,sha256=XTMtAXDWgIOLU2KUQxkLJz2cGvSPlOxpvJc4daXCV6I,198
|
|
8
|
-
jupyter_ydoc/ynotebook.py,sha256=
|
|
8
|
+
jupyter_ydoc/ynotebook.py,sha256=NuW6-zpd0WX99eVINNh9Qbtex6n1qg9kjnkxWeGH_eE,8085
|
|
9
9
|
jupyter_ydoc/yunicode.py,sha256=AVjQov_MBetyr6Xop1daLWKgTpXURwC2b-t1Nvzkz14,2131
|
|
10
|
-
jupyter_ydoc-3.0.
|
|
11
|
-
jupyter_ydoc-3.0.
|
|
12
|
-
jupyter_ydoc-3.0.
|
|
13
|
-
jupyter_ydoc-3.0.
|
|
14
|
-
jupyter_ydoc-3.0.
|
|
10
|
+
jupyter_ydoc-3.0.0a6.dist-info/METADATA,sha256=4CfNU1PNuc9j_wMvkUkv6_zNdSRGaYPIOL6IX_XfBdM,3015
|
|
11
|
+
jupyter_ydoc-3.0.0a6.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
12
|
+
jupyter_ydoc-3.0.0a6.dist-info/entry_points.txt,sha256=lgvRG-rpsjRKf8cy7LpO7fqwwXy0sBVMCwhGOHgn4mc,164
|
|
13
|
+
jupyter_ydoc-3.0.0a6.dist-info/licenses/LICENSE,sha256=dqphsFbhnlzPK7Vlkc66Zc7g7PS-e1dln07GXIVpFCQ,1567
|
|
14
|
+
jupyter_ydoc-3.0.0a6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|