reflex 0.6.1__py3-none-any.whl → 0.6.1a1__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.

@@ -17,7 +17,7 @@ from reflex.event import (
17
17
  from reflex.style import Style, resolved_color_mode
18
18
  from reflex.utils import format
19
19
  from reflex.utils.imports import ImportVar
20
- from reflex.utils.serializers import serializer
20
+ from reflex.utils.serializers import serialize, serializer
21
21
  from reflex.vars import VarData
22
22
  from reflex.vars.base import LiteralVar, Var
23
23
 
@@ -281,8 +281,8 @@ class Toaster(Component):
281
281
  if message == "" and ("title" not in props or "description" not in props):
282
282
  raise ValueError("Toast message or title or description must be provided.")
283
283
  if props:
284
- args = LiteralVar.create(ToastProps(**props))
285
- toast = f"{toast_command}(`{message}`, {str(args)})"
284
+ args = serialize(ToastProps(**props)) # type: ignore
285
+ toast = f"{toast_command}(`{message}`, {args})"
286
286
  else:
287
287
  toast = f"{toast_command}(`{message}`)"
288
288
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reflex
3
- Version: 0.6.1
3
+ Version: 0.6.1a1
4
4
  Summary: Web apps in pure Python.
5
5
  Home-page: https://reflex.dev
6
6
  License: Apache-2.0
@@ -307,7 +307,7 @@ reflex/components/recharts/polar.pyi,sha256=kLoLNDQF2wwJSOSDmogay0TcHAdU1sBvT3Ta
307
307
  reflex/components/recharts/recharts.py,sha256=Krz2U0DNzr0Q_Z7Kuwr6_dFX8HdLpH6eBBwp29CdPq4,3433
308
308
  reflex/components/recharts/recharts.pyi,sha256=-g6O15NFZ0K2LDx096Mat4izg0gUqSr3eNor_0f4XXk,8248
309
309
  reflex/components/sonner/__init__.py,sha256=L_mdRIy7-ccRGSz5VK6J8O-c-e-D1p9xWw29_ErrvGg,68
310
- reflex/components/sonner/toast.py,sha256=izChD8cgSIceNmuQyMOaakKATgorf31Hbc_k4UlwRuI,12064
310
+ reflex/components/sonner/toast.py,sha256=id3F-AdgBw99Fl73ibUjRNRQ2byCbM15KuxGUXDY9PY,12078
311
311
  reflex/components/sonner/toast.pyi,sha256=UmX8hAj_Tq7lKTPplIKmljGbJutISsrfulL0qwIgilw,8166
312
312
  reflex/components/suneditor/__init__.py,sha256=htkPzy0O_1ro1nw8w8gFPjYhg5xywMpsUfc4Dl3OHuw,109
313
313
  reflex/components/suneditor/editor.py,sha256=Qode9LeucEZPFMClH4or64FvtO4q8z2p24P2sEY2FdM,7530
@@ -376,8 +376,8 @@ reflex/vars/function.py,sha256=GjTGRjDhMRACSPBIGNYgQzjKI2WgfhSluAWCm1mJQnU,5478
376
376
  reflex/vars/number.py,sha256=U9n61-zBIIPUDNy_exbvXuuJraCYmD489gjeU2OwAis,28091
377
377
  reflex/vars/object.py,sha256=wOq74_nDNAhqgT21HkHGfRukGdLjWoLprHjFNy1hjy8,14988
378
378
  reflex/vars/sequence.py,sha256=SCtuo4Nohsfg5y-r5RyyYYThNIk9znkPUC_bLg5XGd8,45881
379
- reflex-0.6.1.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
380
- reflex-0.6.1.dist-info/METADATA,sha256=auRf6F5ltUN8Ld8ne4H9Jm5bb00X1UfNpWLzbnfSb30,12013
381
- reflex-0.6.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
382
- reflex-0.6.1.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
383
- reflex-0.6.1.dist-info/RECORD,,
379
+ reflex-0.6.1a1.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
380
+ reflex-0.6.1a1.dist-info/METADATA,sha256=BAQ_L4Fqxt2QpzE0Ne9wcXHm9fm1Q8y2Z77M6HCtPms,12015
381
+ reflex-0.6.1a1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
382
+ reflex-0.6.1a1.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
383
+ reflex-0.6.1a1.dist-info/RECORD,,