reflex 0.7.6__py3-none-any.whl → 0.7.6a1__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
@@ -293,7 +293,6 @@ class UnevaluatedPage:
293
293
  image: str
294
294
  on_load: EventType[()] | None
295
295
  meta: list[dict[str, str]]
296
- context: dict[str, Any] | None
297
296
 
298
297
 
299
298
  @dataclasses.dataclass()
@@ -682,7 +681,6 @@ class App(MiddlewareMixin, LifespanMixin):
682
681
  image: str = constants.DefaultPage.IMAGE,
683
682
  on_load: EventType[()] | None = None,
684
683
  meta: list[dict[str, str]] = constants.DefaultPage.META_LIST,
685
- context: dict[str, Any] | None = None,
686
684
  ):
687
685
  """Add a page to the app.
688
686
 
@@ -697,7 +695,6 @@ class App(MiddlewareMixin, LifespanMixin):
697
695
  image: The image to display on the page.
698
696
  on_load: The event handler(s) that will be called each time the page load.
699
697
  meta: The metadata of the page.
700
- context: Values passed to page for custom page-specific logic.
701
698
 
702
699
  Raises:
703
700
  PageValueError: When the component is not set for a non-404 page.
@@ -765,7 +762,6 @@ class App(MiddlewareMixin, LifespanMixin):
765
762
  image=image,
766
763
  on_load=on_load,
767
764
  meta=meta,
768
- context=context,
769
765
  )
770
766
 
771
767
  def _compile_page(self, route: str, save_page: bool = True):
@@ -64,7 +64,6 @@ _SUBMOD_ATTRS: dict = {
64
64
  "ResponsiveContainer",
65
65
  "legend",
66
66
  "Legend",
67
- "tooltip",
68
67
  "graphing_tooltip",
69
68
  "GraphingTooltip",
70
69
  "label",
@@ -65,7 +65,6 @@ from .general import label as label
65
65
  from .general import label_list as label_list
66
66
  from .general import legend as legend
67
67
  from .general import responsive_container as responsive_container
68
- from .general import tooltip as tooltip
69
68
  from .polar import Pie as Pie
70
69
  from .polar import PolarAngleAxis as PolarAngleAxis
71
70
  from .polar import PolarGrid as PolarGrid
@@ -259,7 +259,7 @@ class Cell(Recharts):
259
259
 
260
260
  responsive_container = ResponsiveContainer.create
261
261
  legend = Legend.create
262
- graphing_tooltip = tooltip = GraphingTooltip.create
262
+ graphing_tooltip = GraphingTooltip.create
263
263
  label = Label.create
264
264
  label_list = LabelList.create
265
265
  cell = Cell.create
@@ -533,7 +533,7 @@ class Cell(Recharts):
533
533
 
534
534
  responsive_container = ResponsiveContainer.create
535
535
  legend = Legend.create
536
- graphing_tooltip = tooltip = GraphingTooltip.create
536
+ graphing_tooltip = GraphingTooltip.create
537
537
  label = Label.create
538
538
  label_list = LabelList.create
539
539
  cell = Cell.create
reflex/utils/export.py CHANGED
@@ -41,10 +41,10 @@ def export(
41
41
 
42
42
  # Override the config url values if provided.
43
43
  if api_url is not None:
44
- config._set_persistent(api_url=str(api_url))
44
+ config.api_url = str(api_url)
45
45
  console.debug(f"overriding API URL: {config.api_url}")
46
46
  if deploy_url is not None:
47
- config._set_persistent(deploy_url=str(deploy_url))
47
+ config.deploy_url = str(deploy_url)
48
48
  console.debug(f"overriding deploy URL: {config.deploy_url}")
49
49
 
50
50
  # Show system info
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reflex
3
- Version: 0.7.6
3
+ Version: 0.7.6a1
4
4
  Summary: Web apps in pure Python.
5
5
  Project-URL: homepage, https://reflex.dev
6
6
  Project-URL: repository, https://github.com/reflex-dev/reflex
@@ -2,7 +2,7 @@ reflex/__init__.py,sha256=viEt38jc1skwOUBwwlwPL02hcGrm9xNQzKExVftZEx4,10365
2
2
  reflex/__init__.pyi,sha256=h9ltlhaz1dySsNYpUkN_VCjEzHGfb1h18ThYh15QjyU,11358
3
3
  reflex/__main__.py,sha256=6cVrGEyT3j3tEvlEVUatpaYfbB5EF3UVY-6vc_Z7-hw,108
4
4
  reflex/admin.py,sha256=q9F2Z4BCtdjPZDGYpk3ogFysTfDPtlR2gY6XDtVPK8U,436
5
- reflex/app.py,sha256=-tDJFgxiZwmMTgK59pGFr6nwHQ_9BO5GpTWu8c0JMUo,69964
5
+ reflex/app.py,sha256=ZwVWFBiYjx5_gL5hQ3LFN0-SlIC_0ieRphRwTpRdJlM,69778
6
6
  reflex/assets.py,sha256=PLTKAMYPKMZq8eWXKX8uco6NZ9IiPGWal0bOPLUmU7k,3364
7
7
  reflex/base.py,sha256=UuWQkOgZYvJNSIkYuNpb4wp9WtIBXlfmxXARAnOXiZ4,3889
8
8
  reflex/config.py,sha256=HowZkxtWwfYPOG_jFDgM3--5_9Ebv1Hv2AursD_1GvE,35443
@@ -314,14 +314,14 @@ reflex/components/react_player/react_player.py,sha256=hadeQezGV0C2FlGgK2kvx_3waO
314
314
  reflex/components/react_player/react_player.pyi,sha256=VHuN1UIv66HQQ7PCg-_n4Te71goTrMQ_J-XzcYQ4D2s,5957
315
315
  reflex/components/react_player/video.py,sha256=2V6tiwCwrzu9WPI1Wmuepk8kQ6M6K8nnMdLLjEbrxrw,186
316
316
  reflex/components/react_player/video.pyi,sha256=G6pNIDE6KeweCBT2BoARIdoC0G8Gm2wvDnE_K5OAIRY,5925
317
- reflex/components/recharts/__init__.py,sha256=v_6K60Bi-tFUrGCOcAPXt7-sAREpcJRzlYPOjUYTxC8,2695
318
- reflex/components/recharts/__init__.pyi,sha256=2YiybRu2AIWwPQ6upgGnb8ZPx4z-cZHgKl1vDZnliW4,5184
317
+ reflex/components/recharts/__init__.py,sha256=Ke5NLICmT2J_mGIUBZcFMUJOXGYgFSG3xRs2v7YjN6I,2676
318
+ reflex/components/recharts/__init__.pyi,sha256=-oVJHVWtQ4kvRoM0SoouWdpWeN1CfvqdjF8Jjx749Bo,5144
319
319
  reflex/components/recharts/cartesian.py,sha256=-B1ktmunQO9fGQTu793JfO0XhEVIh5f2uswRA48RtPE,34560
320
320
  reflex/components/recharts/cartesian.pyi,sha256=o9nGmPnw-hPqzIPSaZqq9RYrE0947XPcyqe1WBcjNv8,103769
321
321
  reflex/components/recharts/charts.py,sha256=uKwNiBM0nMOoTsYziewIS6pYDg457s4EaN9QOADnK2s,18824
322
322
  reflex/components/recharts/charts.pyi,sha256=PPirR85Pk8PzOMW-DB1pMZaWHowuz1PNrl1k-XvtTmI,49144
323
- reflex/components/recharts/general.py,sha256=RVYO1iuuYJAgm_cqoujc2rC8uexj_mYrxEYoBBnTvlc,9032
324
- reflex/components/recharts/general.pyi,sha256=NkDBNa_5clkFnSu3h-LZcUWk91wmOvCt0g6aTvz0t6s,23368
323
+ reflex/components/recharts/general.py,sha256=ff3Y4cXV9H8XruN0eyHUDf11mV3cGXWFaVl-4DAlKqE,9022
324
+ reflex/components/recharts/general.pyi,sha256=Fx7wN4n3oYYpKqXmfdmm5Z4pIdkNTPNQQdgCNIgX1KA,23358
325
325
  reflex/components/recharts/polar.py,sha256=BuR3Zhj1PuYTO0md_RrQIiNaoj0lhqG4wd818F2fGFc,15557
326
326
  reflex/components/recharts/polar.pyi,sha256=N2kSLYpZhnnYzZdIiQxWvzpYiTyPJ50UwPpctExYQMM,27100
327
327
  reflex/components/recharts/recharts.py,sha256=is9FG2MJ6aYsZLDe1uW4zWNRs7LNJFKVbAndYC77jqA,3176
@@ -374,7 +374,7 @@ reflex/utils/console.py,sha256=97QCo1vXFM-B32zrvYH51yzDRyNPkXD5nNriaiCrlpc,9439
374
374
  reflex/utils/decorator.py,sha256=RaqnUjPaEZSrTy9jy4AQZVG2rpOjJK8Eec0PE-9BNcA,1711
375
375
  reflex/utils/exceptions.py,sha256=Wwu7Ji2xgq521bJKtU2NgjwhmFfnG8erirEVN2h8S-g,8884
376
376
  reflex/utils/exec.py,sha256=cZhowK1CD8qUZEyRxhfTljOkKsZCoMXODLv621sQ3b0,19394
377
- reflex/utils/export.py,sha256=eRAVmXyOfCjaL0g4YwWy9f48YT21tfKtd8Evt37_sRY,2567
377
+ reflex/utils/export.py,sha256=bcJA0L8lBbjij-5PU93ka2c1d_yJqrIurp5u4mN5f68,2537
378
378
  reflex/utils/format.py,sha256=a8em_yzqp9pLTrPXRsdzFWSO1qL2x25BpJXOf9DV1t8,20638
379
379
  reflex/utils/imports.py,sha256=k16vV5ANvWrKB1a5WYO7v5BVWES3RabEX8xAEnGvHhg,4162
380
380
  reflex/utils/lazy_loader.py,sha256=pdirbNnGfB-r21zgjzHk0c6vODXqKLn9vbJiP5Yr5nQ,4138
@@ -397,8 +397,8 @@ reflex/vars/function.py,sha256=2sVnhgetPSwtor8VFtAiYJdzZ9IRNzAKdsUJG6dXQcE,14461
397
397
  reflex/vars/number.py,sha256=__X8C4lwDQNy8RL9-AxVgC6MM1KF-2PClXE0aR9Ldno,27453
398
398
  reflex/vars/object.py,sha256=-fGqHThozjxAAuQL-wTwEItPiFI-ps53P2bKoSlW_As,17081
399
399
  reflex/vars/sequence.py,sha256=zR3Gwi0xkypThKO45KGqu_AYruY1mTK8kmHjzXcm8y8,55289
400
- reflex-0.7.6.dist-info/METADATA,sha256=DJuAYTHuZkMXcd0qlVUxnzxhohDsATAbxQ8HK7PID-A,11895
401
- reflex-0.7.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
402
- reflex-0.7.6.dist-info/entry_points.txt,sha256=Rxt4dXc7MLBNt5CSHTehVPuSe9Xqow4HLX55nD9tQQ0,45
403
- reflex-0.7.6.dist-info/licenses/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
404
- reflex-0.7.6.dist-info/RECORD,,
400
+ reflex-0.7.6a1.dist-info/METADATA,sha256=ZKSIdEnakJpgtGN_G7VxdvQyezSgK9E1wTp7Nc97Bg4,11897
401
+ reflex-0.7.6a1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
402
+ reflex-0.7.6a1.dist-info/entry_points.txt,sha256=Rxt4dXc7MLBNt5CSHTehVPuSe9Xqow4HLX55nD9tQQ0,45
403
+ reflex-0.7.6a1.dist-info/licenses/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
404
+ reflex-0.7.6a1.dist-info/RECORD,,