reflex 0.7.1a3__py3-none-any.whl → 0.7.1a4__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/app.py CHANGED
@@ -1103,6 +1103,9 @@ class App(MiddlewareMixin, LifespanMixin):
1103
1103
  console.debug(f"Evaluating page: {route}")
1104
1104
  self._compile_page(route, save_page=should_compile)
1105
1105
 
1106
+ # Save the pages which created new states at eval time.
1107
+ self._write_stateful_pages_marker()
1108
+
1106
1109
  # Add the optional endpoints (_upload)
1107
1110
  self._add_optional_endpoints()
1108
1111
 
@@ -1145,6 +1148,8 @@ class App(MiddlewareMixin, LifespanMixin):
1145
1148
  )[:10]
1146
1149
  )
1147
1150
  )
1151
+ # Save the pages which created new states at eval time.
1152
+ self._write_stateful_pages_marker()
1148
1153
 
1149
1154
  # Add the optional endpoints (_upload)
1150
1155
  self._add_optional_endpoints()
@@ -1366,7 +1371,8 @@ class App(MiddlewareMixin, LifespanMixin):
1366
1371
  for output_path, code in compile_results:
1367
1372
  compiler_utils.write_page(output_path, code)
1368
1373
 
1369
- # Write list of routes that create dynamic states for backend to use.
1374
+ def _write_stateful_pages_marker(self):
1375
+ """Write list of routes that create dynamic states for the backend to use later."""
1370
1376
  if self._state is not None:
1371
1377
  stateful_pages_marker = (
1372
1378
  prerequisites.get_backend_dir() / constants.Dirs.STATEFUL_PAGES
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: reflex
3
- Version: 0.7.1a3
3
+ Version: 0.7.1a4
4
4
  Summary: Web apps in pure Python.
5
5
  License: Apache-2.0
6
6
  Keywords: web,framework
@@ -40,7 +40,7 @@ reflex/__init__.py,sha256=64HB9b6MKesl3Yv6aZMsozdMKKpgnxirKk-aeN45UYY,10341
40
40
  reflex/__init__.pyi,sha256=j4ZkO-mKKw5dFBhJVbaOg7AlncO-JCckV2cHENPiLG0,11303
41
41
  reflex/__main__.py,sha256=6cVrGEyT3j3tEvlEVUatpaYfbB5EF3UVY-6vc_Z7-hw,108
42
42
  reflex/admin.py,sha256=_3pkkauMiTGJJ0kwAEBnsUWAgZZ_1WNnCaaObbhpmUI,374
43
- reflex/app.py,sha256=1O5MOi3PnHnOht7GrXutUGOwjdE9nqRBm-H3B2UeA2U,68659
43
+ reflex/app.py,sha256=ksQaxm8GIDQjxFTQc5rtGF9gQC0CxS0itjCnHzBMS04,68950
44
44
  reflex/app_mixins/__init__.py,sha256=Oegz3-gZLP9p2OAN5ALNbsgxuNQfS6lGZgQA8cc-9mQ,137
45
45
  reflex/app_mixins/lifespan.py,sha256=Xs5KiidoyO921oaBuEg7zaR8B1_SPYDZLouel6u9PRo,3298
46
46
  reflex/app_mixins/middleware.py,sha256=lB8I67SEbqcJhp3aqMLZFIZekCYKeMby-Ph2sedIYJI,3349
@@ -398,8 +398,8 @@ reflex/vars/function.py,sha256=r5NFBsueqiaRkM0F1Zp2lqWYMvWBhbNwyf5F9jrEC9A,14794
398
398
  reflex/vars/number.py,sha256=a0Qq_xM3v4Lcjm8l9Yg6ESRITUOnzgWADNmfvv4tmGI,27871
399
399
  reflex/vars/object.py,sha256=jfvxtrklztDtbD2zgNVNCZZE6X6HQMB6yJHPhtb0hUo,15033
400
400
  reflex/vars/sequence.py,sha256=_A1By3COdoTt9o5WM2odYsWf1twTv8Depf0kgHLdhGQ,54276
401
- reflex-0.7.1a3.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
402
- reflex-0.7.1a3.dist-info/METADATA,sha256=9p4zHQTxhlfiby3x01MJWttyzUfGaaCnMV9oAdg5mQ4,11985
403
- reflex-0.7.1a3.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
404
- reflex-0.7.1a3.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
405
- reflex-0.7.1a3.dist-info/RECORD,,
401
+ reflex-0.7.1a4.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
402
+ reflex-0.7.1a4.dist-info/METADATA,sha256=H47SWi0vfR3FkFE-cmEVtiIA-PAJh5vGoozeqA8ZU0Y,11985
403
+ reflex-0.7.1a4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
404
+ reflex-0.7.1a4.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
405
+ reflex-0.7.1a4.dist-info/RECORD,,