reflex 0.4.7a1__py3-none-any.whl → 0.4.7a2__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.

@@ -715,7 +715,7 @@ def publish(
715
715
  _collect_details_for_gallery()
716
716
 
717
717
 
718
- def _process_entered_list(input: str) -> list | None:
718
+ def _process_entered_list(input: str | None) -> list | None:
719
719
  """Process the user entered comma separated list into a list if applicable.
720
720
 
721
721
  Args:
@@ -724,7 +724,7 @@ def _process_entered_list(input: str) -> list | None:
724
724
  Returns:
725
725
  The list of items or None.
726
726
  """
727
- return [t.strip() for t in input.split(",") if t if input] or None
727
+ return [t.strip() for t in (input or "").split(",") if t if input] or None
728
728
 
729
729
 
730
730
  def _validate_project_info():
@@ -773,6 +773,7 @@ def _validate_project_info():
773
773
  )
774
774
  or []
775
775
  )
776
+ project["keywords"] = new_keywords
776
777
  elif keyword_action == "a":
777
778
  new_keywords = (
778
779
  _process_entered_list(
@@ -780,7 +781,7 @@ def _validate_project_info():
780
781
  )
781
782
  or []
782
783
  )
783
- project["keywords"] = project.get("keywords", []) + new_keywords
784
+ project["keywords"] = project.get("keywords", []) + new_keywords
784
785
 
785
786
  if not project.get("urls"):
786
787
  project["urls"] = {}
@@ -852,7 +852,7 @@ def needs_reinit(frontend: bool = True) -> bool:
852
852
  """
853
853
  if not os.path.exists(constants.Config.FILE):
854
854
  console.error(
855
- f"{constants.Config.FILE} not found. Run [bold]{constants.Reflex.MODULE_NAME} init[/bold] first."
855
+ f"[cyan]{constants.Config.FILE}[/cyan] not found. Move to the root folder of your project, or run [bold]{constants.Reflex.MODULE_NAME} init[/bold] to start a new project."
856
856
  )
857
857
  raise typer.Exit(1)
858
858
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reflex
3
- Version: 0.4.7a1
3
+ Version: 0.4.7a2
4
4
  Summary: Web apps in pure Python.
5
5
  Home-page: https://reflex.dev
6
6
  License: Apache-2.0
@@ -470,7 +470,7 @@ reflex/constants/installer.py,sha256=wzoO_TaXF6N54CKmqpSSzT9QGIPalYn245AtUIIlEY0
470
470
  reflex/constants/route.py,sha256=9ydQEdlz3YwGmGMHVGz7zA-INoOLtz_xUU2S-WmhZZM,1940
471
471
  reflex/constants/style.py,sha256=gSzu0sQEQjW81PekxJnwRs7SXQQVco-LxtVjCi0IQZc,636
472
472
  reflex/custom_components/__init__.py,sha256=R4zsvOi4dfPmHc18KEphohXnQFBPnUCb50cMR5hSLDE,36
473
- reflex/custom_components/custom_components.py,sha256=rqcEZxL4t8-B2khGuWioLpXNFQhiuUX4aq1PD9C3LbA,32034
473
+ reflex/custom_components/custom_components.py,sha256=bHTKFX2jLLhfW90Y-l3rpamyxhIqoqJrc127IUXEk7s,32096
474
474
  reflex/event.py,sha256=tQH1fLdBrTRI150VxiK6SbUBByPQxMNDylaSBYVliYM,26634
475
475
  reflex/experimental/__init__.py,sha256=nx9HxdZfYmCjR6LWbB6ms1Y_saZQWVQBUNSQAFs_F6s,287
476
476
  reflex/experimental/hooks.py,sha256=8LWdoq1aQPCA3ySDtlUzsPGiizM8CINvHUU6-ukZIFs,1647
@@ -493,7 +493,7 @@ reflex/utils/export.py,sha256=XzoJ9ipgT4jVOCy98XamdLv_99YI3-fE2FuVK9_HDiU,2357
493
493
  reflex/utils/format.py,sha256=4vY7NP-f7B2euJ5F5dM3yh5SYPzCY3bVZDATG2DMaMU,22648
494
494
  reflex/utils/imports.py,sha256=yah1kSVsOyUxA0wOMxJTwcmu6xlmkLJtV_zRIhshpsA,1919
495
495
  reflex/utils/path_ops.py,sha256=Vy6fU_bXvOcCvbXdTSmeLwy_C4h9seYU-3yIrVdZEZQ,4737
496
- reflex/utils/prerequisites.py,sha256=Lmda9ATbLOxzPHZ_SCiFRLCtiGTIn-BhGb8sRsvJW1Y,45683
496
+ reflex/utils/prerequisites.py,sha256=lXdTgG0RSAQDoUkqSK8KXq9WoIiKTr_oI_m6-UiPhyk,45757
497
497
  reflex/utils/processes.py,sha256=SaDkqJVyhdyp5gE3Rn8MbU1VMNGN3BTObK5WWwqoEAE,8481
498
498
  reflex/utils/pyi_generator.py,sha256=VyGG0Tj3nvyBi2OQU-oscWRhJyRiYG9rUvJolKLK5Gg,27674
499
499
  reflex/utils/serializers.py,sha256=4LOCpri11NKVocnPb4zzgIBvW8fT-fX0h_1DIMfv5yI,8538
@@ -502,8 +502,8 @@ reflex/utils/types.py,sha256=-OT6RLGOfKnzlArNua7Kld6DLFeUFAasHS5B2RjLqsE,13585
502
502
  reflex/utils/watch.py,sha256=HzGrHQIZ_62Di0BO46kd2AZktNA3A6nFIBuf8c6ip30,2609
503
503
  reflex/vars.py,sha256=mef13GC4G_Iqicliyp6k9EWGULC1p1UewgM7gJODcBw,67152
504
504
  reflex/vars.pyi,sha256=7sVCLoLg9Y7QAmXWz6FCtVmScpSV84u0yQ3ZBImb_Bk,5583
505
- reflex-0.4.7a1.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
506
- reflex-0.4.7a1.dist-info/METADATA,sha256=600bnM7UtydBTlimhydTvW8BBEhlwmHYxp9Iipf1_80,11815
507
- reflex-0.4.7a1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
508
- reflex-0.4.7a1.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
509
- reflex-0.4.7a1.dist-info/RECORD,,
505
+ reflex-0.4.7a2.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
506
+ reflex-0.4.7a2.dist-info/METADATA,sha256=0grbN1GJ6axc2z_EQzIU3TGoXawdnRUhtBEEZFBD5io,11815
507
+ reflex-0.4.7a2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
508
+ reflex-0.4.7a2.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
509
+ reflex-0.4.7a2.dist-info/RECORD,,