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 1a0acdf commit 89542d9Copy full SHA for 89542d9
jupyter_ydoc/ynotebook.py
@@ -304,7 +304,7 @@ def set(self, value: Dict) -> None:
304
self._ymeta["nbformat_minor"] = nbformat_minor
305
306
old_y_metadata = self._ymeta.get("metadata")
307
- old_metadata = old_y_metadata.to_py() if old_y_metadata else {}
+ old_metadata = old_y_metadata.to_py() if old_y_metadata else None
308
metadata = nb.get("metadata", {})
309
310
if metadata != old_metadata:
0 commit comments