reflex 0.6.3a3__py3-none-any.whl → 0.6.3.post1__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.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/event.py +1 -1
- reflex/state.py +6 -2
- {reflex-0.6.3a3.dist-info → reflex-0.6.3.post1.dist-info}/METADATA +1 -1
- {reflex-0.6.3a3.dist-info → reflex-0.6.3.post1.dist-info}/RECORD +7 -7
- {reflex-0.6.3a3.dist-info → reflex-0.6.3.post1.dist-info}/LICENSE +0 -0
- {reflex-0.6.3a3.dist-info → reflex-0.6.3.post1.dist-info}/WHEEL +0 -0
- {reflex-0.6.3a3.dist-info → reflex-0.6.3.post1.dist-info}/entry_points.txt +0 -0
reflex/event.py
CHANGED
|
@@ -1412,7 +1412,7 @@ class ToEventChainVarOperation(ToOperation, EventChainVar):
|
|
|
1412
1412
|
|
|
1413
1413
|
G = ParamSpec("G")
|
|
1414
1414
|
|
|
1415
|
-
IndividualEventType = Union[EventSpec, EventHandler, Callable[G, Any], Var]
|
|
1415
|
+
IndividualEventType = Union[EventSpec, EventHandler, Callable[G, Any], Var[Any]]
|
|
1416
1416
|
|
|
1417
1417
|
EventType = Union[IndividualEventType[G], List[IndividualEventType[G]]]
|
|
1418
1418
|
|
reflex/state.py
CHANGED
|
@@ -2842,9 +2842,13 @@ class StateManagerDisk(StateManager):
|
|
|
2842
2842
|
for substate in state.get_substates():
|
|
2843
2843
|
substate_token = _substate_key(client_token, substate)
|
|
2844
2844
|
|
|
2845
|
+
fresh_instance = await root_state.get_state(substate)
|
|
2845
2846
|
instance = await self.load_state(substate_token)
|
|
2846
|
-
if instance is None:
|
|
2847
|
-
|
|
2847
|
+
if instance is not None:
|
|
2848
|
+
# Ensure all substates exist, even if they weren't serialized previously.
|
|
2849
|
+
instance.substates = fresh_instance.substates
|
|
2850
|
+
else:
|
|
2851
|
+
instance = fresh_instance
|
|
2848
2852
|
state.substates[substate.get_name()] = instance
|
|
2849
2853
|
instance.parent_state = state
|
|
2850
2854
|
|
|
@@ -332,7 +332,7 @@ reflex/constants/state.py,sha256=H4EtcrF_hPa6IRLlIHbXd0iEyRtum_qWvA5MHXv_KD8,187
|
|
|
332
332
|
reflex/constants/style.py,sha256=WS_STDQ0byFIotnTSio2kQR_oK3bJE7mrMSeK0W1H00,475
|
|
333
333
|
reflex/custom_components/__init__.py,sha256=R4zsvOi4dfPmHc18KEphohXnQFBPnUCb50cMR5hSLDE,36
|
|
334
334
|
reflex/custom_components/custom_components.py,sha256=jju21QgdM8mkpMfaboTwEPYASsvb46yvGt53seMI6pg,33000
|
|
335
|
-
reflex/event.py,sha256=
|
|
335
|
+
reflex/event.py,sha256=pG914eiWPz9EzH0Wh_nruk7pl2cKcDoBazeZeJBLQ0o,45771
|
|
336
336
|
reflex/experimental/__init__.py,sha256=usDkf5yRMHKHjdRa_KfedFeD-urOMAKBuNfsghzvre4,1974
|
|
337
337
|
reflex/experimental/assets.py,sha256=GZRdfIs03HXCSShyvdztu6vFsJ9Z8W4ZFCjJGZrNURY,1837
|
|
338
338
|
reflex/experimental/client_state.py,sha256=dHq5Denp9vJs70j_cZws9XLeGX749GsiL7YLdbL5Ovo,7903
|
|
@@ -349,7 +349,7 @@ reflex/model.py,sha256=I102SQwtUaidue0JZLJD3QJRoTPYvqKaT7U9yKUIH9s,14176
|
|
|
349
349
|
reflex/page.py,sha256=25dKsOqVcY1Pz05T0gjUEk8zKHcfyd1c0nYIXW7jY5A,2332
|
|
350
350
|
reflex/reflex.py,sha256=qlyEkg5ZqaYpKalNf2QIsAiPBIuQCxIyPjLCSedAUpU,18793
|
|
351
351
|
reflex/route.py,sha256=WZS7stKgO94nekFFYHaOqNgN3zZGpJb3YpGF4ViTHmw,4198
|
|
352
|
-
reflex/state.py,sha256=
|
|
352
|
+
reflex/state.py,sha256=jGcttbr2Tt6KZqtEZO846FmasyfMCNJJS97QzIZYnbs,131078
|
|
353
353
|
reflex/style.py,sha256=kxjfOJUiw_Y8sRbVzGTzSF-DiaNrL4hEB7T5qp33NJ0,12694
|
|
354
354
|
reflex/testing.py,sha256=JR2I4adxEaGs9d4wOzmwIVrDWIrBJ0uGCIRwLrkmmSU,34785
|
|
355
355
|
reflex/utils/__init__.py,sha256=y-AHKiRQAhk2oAkvn7W8cRVTZVK625ff8tTwvZtO7S4,24
|
|
@@ -379,8 +379,8 @@ reflex/vars/function.py,sha256=GjTGRjDhMRACSPBIGNYgQzjKI2WgfhSluAWCm1mJQnU,5478
|
|
|
379
379
|
reflex/vars/number.py,sha256=U9n61-zBIIPUDNy_exbvXuuJraCYmD489gjeU2OwAis,28091
|
|
380
380
|
reflex/vars/object.py,sha256=TzVe-EBiZYdXBBM0xTUmOs8V7nO9vBQ3hcdf6Rdidr8,15069
|
|
381
381
|
reflex/vars/sequence.py,sha256=H2keaazgJtm6WFFDwY5gHQBNnvOPiIQXxlmcpp3-4X4,46255
|
|
382
|
-
reflex-0.6.
|
|
383
|
-
reflex-0.6.
|
|
384
|
-
reflex-0.6.
|
|
385
|
-
reflex-0.6.
|
|
386
|
-
reflex-0.6.
|
|
382
|
+
reflex-0.6.3.post1.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
|
|
383
|
+
reflex-0.6.3.post1.dist-info/METADATA,sha256=fPAha872gNbqdNKh6hhohWhb5kzqZJg9BZZGPY8Q7iE,12061
|
|
384
|
+
reflex-0.6.3.post1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
385
|
+
reflex-0.6.3.post1.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
|
|
386
|
+
reflex-0.6.3.post1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|