hmr 0.4.1.2__py3-none-any.whl → 0.4.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.4.1.2.dist-info → hmr-0.4.3.dist-info}/METADATA +1 -1
- {hmr-0.4.1.2.dist-info → hmr-0.4.3.dist-info}/RECORD +6 -6
- reactivity/hmr/core.py +1 -1
- reactivity/primitives.py +10 -1
- {hmr-0.4.1.2.dist-info → hmr-0.4.3.dist-info}/WHEEL +0 -0
- {hmr-0.4.1.2.dist-info → hmr-0.4.3.dist-info}/entry_points.txt +0 -0
@@ -1,14 +1,14 @@
|
|
1
|
-
hmr-0.4.
|
2
|
-
hmr-0.4.
|
3
|
-
hmr-0.4.
|
1
|
+
hmr-0.4.3.dist-info/METADATA,sha256=gJvXslME9Vjx3o-BtCThGvA0a77QQ9ozUehjgosaY0I,258
|
2
|
+
hmr-0.4.3.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
3
|
+
hmr-0.4.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=DVwhsEEs9aRcsyMqTdF5eRG-Z0zVhS7AbmR-Y-PXCkg,5321
|
7
7
|
reactivity/hmr/__init__.py,sha256=S5ZIHqCRpevdzWuhS0aCua_S8F0LkK0YNg6IgeTScFQ,177
|
8
8
|
reactivity/hmr/__main__.py,sha256=uIcyjR5gMFIXH_3hS0B3SD00RirVf7GIct-uItx675o,64
|
9
9
|
reactivity/hmr/api.py,sha256=Esb1fYiBW0SLxQ0MPXby25ZgIIZhIp-M3b2KiqpffmU,2094
|
10
|
-
reactivity/hmr/core.py,sha256=
|
10
|
+
reactivity/hmr/core.py,sha256=97pqCf5wt0YOb5vAi4I1z9qagKXMEy_xQvL6LW9DHmI,11498
|
11
11
|
reactivity/hmr/hooks.py,sha256=jIFpe4CNxfaS9RcR4OIodx_sOZlnJ_IA1T1RtHPXhwU,945
|
12
12
|
reactivity/hmr/utils.py,sha256=-PO-LMP4sc3IP-Bn_baq2w9IFWBZ3zGesgRn5wR6bS0,1555
|
13
|
-
reactivity/primitives.py,sha256=
|
14
|
-
hmr-0.4.
|
13
|
+
reactivity/primitives.py,sha256=sPuIRi3pnAV7wV42rqD0j07HNkz4Bk4VxJWhdYToeZE,5907
|
14
|
+
hmr-0.4.3.dist-info/RECORD,,
|
reactivity/hmr/core.py
CHANGED
reactivity/primitives.py
CHANGED
@@ -212,4 +212,13 @@ class Derived[T](BaseDerived[T]):
|
|
212
212
|
|
213
213
|
|
214
214
|
def _pulled(sub: Subscribable):
|
215
|
-
|
215
|
+
visited = set()
|
216
|
+
to_visit: set[Subscribable] = {sub}
|
217
|
+
while to_visit:
|
218
|
+
visited.add(current := to_visit.pop())
|
219
|
+
for s in current.subscribers:
|
220
|
+
if not isinstance(s, BaseDerived):
|
221
|
+
return True
|
222
|
+
if s not in visited:
|
223
|
+
to_visit.add(s)
|
224
|
+
return False
|
File without changes
|
File without changes
|