hmr 0.3.3.2__py3-none-any.whl → 0.3.3.3__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.
- {hmr-0.3.3.2.dist-info → hmr-0.3.3.3.dist-info}/METADATA +1 -1
- {hmr-0.3.3.2.dist-info → hmr-0.3.3.3.dist-info}/RECORD +6 -6
- reactivity/hmr/core.py +1 -1
- reactivity/hmr/utils.py +2 -2
- {hmr-0.3.3.2.dist-info → hmr-0.3.3.3.dist-info}/WHEEL +0 -0
- {hmr-0.3.3.2.dist-info → hmr-0.3.3.3.dist-info}/entry_points.txt +0 -0
@@ -1,13 +1,13 @@
|
|
1
|
-
hmr-0.3.3.
|
2
|
-
hmr-0.3.3.
|
3
|
-
hmr-0.3.3.
|
1
|
+
hmr-0.3.3.3.dist-info/METADATA,sha256=TWN_VystOGF0zdKckjiayJus6XK7GJ-L03xlibtXs2E,260
|
2
|
+
hmr-0.3.3.3.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
hmr-0.3.3.3.dist-info/entry_points.txt,sha256=g_T0uJ43WgsdG14kkkdaBQuIL0HO-m1qvtjXMP6d060,59
|
4
4
|
reactivity/__init__.py,sha256=pX-RUzkezCC1x4eOWGxNhXbwrbvBLP_3pQuZr9eZz1Y,300
|
5
5
|
reactivity/functional.py,sha256=U06vshcVhZ0sb218gcmHtEhfgTNAGtQ7zyvPz2w5qKM,1292
|
6
6
|
reactivity/helpers.py,sha256=7gwsIKKrjEahSz9G9oR4s1LdYXQTCIMO0k4UGXGla9Y,3714
|
7
7
|
reactivity/hmr/__init__.py,sha256=S5ZIHqCRpevdzWuhS0aCua_S8F0LkK0YNg6IgeTScFQ,177
|
8
8
|
reactivity/hmr/api.py,sha256=-0-6Tn0AVkaDs7_qrCCd9TXxRTPDMDB08-UYfepTdec,1644
|
9
|
-
reactivity/hmr/core.py,sha256=
|
9
|
+
reactivity/hmr/core.py,sha256=TSbL1AMiel2eKzk23z1Sb8ruCTx9s5m6blbj0L9RGD4,10252
|
10
10
|
reactivity/hmr/hooks.py,sha256=-yLr5ktiyqPb1nDbHsgv6-c_ZkziBjNqCU-0PCfXGYU,592
|
11
|
-
reactivity/hmr/utils.py,sha256=
|
11
|
+
reactivity/hmr/utils.py,sha256=zM7X5I8ywOguOt20uE55INWOGen3FuJZDAvgouu7lI8,1550
|
12
12
|
reactivity/primitives.py,sha256=DR2waJbzhVKOioHXMliE4FIsxQUq7DZA0umPrlvchA4,4217
|
13
|
-
hmr-0.3.3.
|
13
|
+
hmr-0.3.3.3.dist-info/RECORD,,
|
reactivity/hmr/core.py
CHANGED
reactivity/hmr/utils.py
CHANGED
@@ -30,9 +30,9 @@ def clear_memos():
|
|
30
30
|
def cache_across_reloads[T](func: Callable[[], T]) -> Callable[[], T]:
|
31
31
|
file = getsourcefile(func)
|
32
32
|
assert file is not None
|
33
|
-
module = ReactiveModule.instances
|
33
|
+
module = ReactiveModule.instances.get(Path(file).resolve())
|
34
34
|
|
35
|
-
if
|
35
|
+
if module is None:
|
36
36
|
from functools import cache
|
37
37
|
|
38
38
|
return cache(func) # type: ignore
|
File without changes
|
File without changes
|