We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad6c18e commit 1744d80Copy full SHA for 1744d80
jupyter_ydoc/ynotebook.py
@@ -221,8 +221,8 @@ def get(self) -> Dict:
221
return dict(
222
cells=cells,
223
metadata=meta.get("metadata", {}),
224
- nbformat=int(meta.get("nbformat", 0)),
225
- nbformat_minor=int(meta.get("nbformat_minor", 0)),
+ nbformat=int(meta.get("nbformat", NBFORMAT_MAJOR_VERSION)),
+ nbformat_minor=int(meta.get("nbformat_minor", NBFORMAT_MINOR_VERSION)),
226
)
227
228
def set(self, value: Dict) -> None:
pyproject.toml
@@ -31,7 +31,7 @@ test = [
31
"pytest",
32
"pytest-asyncio",
33
"websockets >=10.0",
34
- "ypy-websocket >=0.8.3,<0.9.0",
+ "ypy-websocket >=0.8.3,<0.13.0",
35
]
36
docs = [
37
"sphinx",
0 commit comments