hmr 0.6.0.2__tar.gz → 0.6.1__tar.gz
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.
- {hmr-0.6.0.2 → hmr-0.6.1}/PKG-INFO +1 -1
- {hmr-0.6.0.2 → hmr-0.6.1}/pyproject.toml +1 -1
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/helpers.py +3 -1
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/hmr/core.py +1 -1
- {hmr-0.6.0.2 → hmr-0.6.1}/README.md +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/__init__.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/context.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/functional.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/hmr/__init__.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/hmr/__main__.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/hmr/api.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/hmr/hooks.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/hmr/utils.py +0 -0
- {hmr-0.6.0.2 → hmr-0.6.1}/reactivity/primitives.py +0 -0
@@ -99,7 +99,9 @@ class Reactive[K, V](Subscribable, MutableMapping[K, V]):
|
|
99
99
|
|
100
100
|
def __setitem__(self, key: K, value: V):
|
101
101
|
with Batch(force_flush=False, context=self.context):
|
102
|
-
|
102
|
+
old_value = self._signals[key].get(track=False)
|
103
|
+
self._signals[key].set(value)
|
104
|
+
if old_value is self.UNSET:
|
103
105
|
self.notify()
|
104
106
|
|
105
107
|
def __delitem__(self, key: K):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|