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.
2 parents bdb1757 + b192ef3 commit 09cf799Copy full SHA for 09cf799
jupyter_ydoc/ydoc.py
@@ -35,9 +35,8 @@ def dirty(self) -> None:
35
36
@dirty.setter
37
def dirty(self, value: bool) -> None:
38
- if self.dirty != value:
39
- with self._ydoc.begin_transaction() as t:
40
- self._ystate.set(t, "dirty", value)
+ with self._ydoc.begin_transaction() as t:
+ self._ystate.set(t, "dirty", value)
41
42
def observe(self, callback):
43
raise RuntimeError("Y document observe not implemented")
0 commit comments