reflex 0.7.3a2__py3-none-any.whl → 0.7.4__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/.templates/web/components/reflex/radix_themes_color_mode_provider.js +9 -1
- reflex/app.py +21 -5
- reflex/base.py +3 -3
- reflex/compiler/compiler.py +68 -8
- reflex/components/component.py +6 -3
- reflex/components/core/client_side_routing.py +3 -3
- reflex/components/core/cond.py +20 -12
- reflex/components/core/upload.py +1 -1
- reflex/components/dynamic.py +2 -4
- reflex/components/lucide/icon.py +20 -27
- reflex/components/plotly/plotly.py +9 -9
- reflex/components/recharts/recharts.py +2 -2
- reflex/components/sonner/toast.py +1 -1
- reflex/config.py +23 -23
- reflex/constants/__init__.py +1 -2
- reflex/constants/base.py +3 -0
- reflex/constants/installer.py +8 -105
- reflex/custom_components/custom_components.py +8 -3
- reflex/reflex.py +22 -4
- reflex/state.py +9 -1
- reflex/testing.py +7 -1
- reflex/utils/build.py +3 -4
- reflex/utils/exec.py +156 -75
- reflex/utils/net.py +107 -18
- reflex/utils/path_ops.py +15 -25
- reflex/utils/prerequisites.py +225 -189
- reflex/utils/processes.py +70 -35
- reflex/utils/redir.py +3 -1
- reflex/utils/registry.py +16 -8
- reflex/vars/base.py +2 -38
- reflex/vars/datetime.py +10 -34
- reflex/vars/number.py +16 -112
- reflex/vars/sequence.py +99 -108
- {reflex-0.7.3a2.dist-info → reflex-0.7.4.dist-info}/METADATA +4 -2
- {reflex-0.7.3a2.dist-info → reflex-0.7.4.dist-info}/RECORD +38 -39
- reflex/app_module_for_backend.py +0 -33
- {reflex-0.7.3a2.dist-info → reflex-0.7.4.dist-info}/WHEEL +0 -0
- {reflex-0.7.3a2.dist-info → reflex-0.7.4.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.3a2.dist-info → reflex-0.7.4.dist-info}/licenses/LICENSE +0 -0
reflex/vars/sequence.py
CHANGED
|
@@ -14,7 +14,6 @@ from typing import (
|
|
|
14
14
|
List,
|
|
15
15
|
Literal,
|
|
16
16
|
Mapping,
|
|
17
|
-
NoReturn,
|
|
18
17
|
Sequence,
|
|
19
18
|
Type,
|
|
20
19
|
TypeVar,
|
|
@@ -76,13 +75,7 @@ VALUE_TYPE = TypeVar("VALUE_TYPE")
|
|
|
76
75
|
class ArrayVar(Var[ARRAY_VAR_TYPE], python_types=(Sequence, set)):
|
|
77
76
|
"""Base class for immutable array vars."""
|
|
78
77
|
|
|
79
|
-
|
|
80
|
-
def join(self, sep: StringVar | str = "") -> StringVar: ...
|
|
81
|
-
|
|
82
|
-
@overload
|
|
83
|
-
def join(self, sep: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
84
|
-
|
|
85
|
-
def join(self, sep: Any = "") -> StringVar:
|
|
78
|
+
def join(self, sep: StringVar | str = "") -> StringVar:
|
|
86
79
|
"""Join the elements of the array.
|
|
87
80
|
|
|
88
81
|
Args:
|
|
@@ -123,13 +116,7 @@ class ArrayVar(Var[ARRAY_VAR_TYPE], python_types=(Sequence, set)):
|
|
|
123
116
|
"""
|
|
124
117
|
return array_reverse_operation(self)
|
|
125
118
|
|
|
126
|
-
|
|
127
|
-
def __add__(self, other: ArrayVar[ARRAY_VAR_TYPE]) -> ArrayVar[ARRAY_VAR_TYPE]: ...
|
|
128
|
-
|
|
129
|
-
@overload
|
|
130
|
-
def __add__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
131
|
-
|
|
132
|
-
def __add__(self, other: Any) -> ArrayVar[ARRAY_VAR_TYPE]:
|
|
119
|
+
def __add__(self, other: ArrayVar[ARRAY_VAR_TYPE]) -> ArrayVar[ARRAY_VAR_TYPE]:
|
|
133
120
|
"""Concatenate two arrays.
|
|
134
121
|
|
|
135
122
|
Parameters:
|
|
@@ -352,13 +339,7 @@ class ArrayVar(Var[ARRAY_VAR_TYPE], python_types=(Sequence, set)):
|
|
|
352
339
|
"""
|
|
353
340
|
return array_pluck_operation(self, field)
|
|
354
341
|
|
|
355
|
-
|
|
356
|
-
def __mul__(self, other: NumberVar | int) -> ArrayVar[ARRAY_VAR_TYPE]: ...
|
|
357
|
-
|
|
358
|
-
@overload
|
|
359
|
-
def __mul__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
360
|
-
|
|
361
|
-
def __mul__(self, other: Any) -> ArrayVar[ARRAY_VAR_TYPE]:
|
|
342
|
+
def __mul__(self, other: NumberVar | int) -> ArrayVar[ARRAY_VAR_TYPE]:
|
|
362
343
|
"""Multiply the sequence by a number or integer.
|
|
363
344
|
|
|
364
345
|
Parameters:
|
|
@@ -603,13 +584,7 @@ STRING_TYPE = TypingExtensionsTypeVar("STRING_TYPE", default=str)
|
|
|
603
584
|
class StringVar(Var[STRING_TYPE], python_types=str):
|
|
604
585
|
"""Base class for immutable string vars."""
|
|
605
586
|
|
|
606
|
-
|
|
607
|
-
def __add__(self, other: StringVar | str) -> ConcatVarOperation: ...
|
|
608
|
-
|
|
609
|
-
@overload
|
|
610
|
-
def __add__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
611
|
-
|
|
612
|
-
def __add__(self, other: Any) -> ConcatVarOperation:
|
|
587
|
+
def __add__(self, other: StringVar | str) -> ConcatVarOperation:
|
|
613
588
|
"""Concatenate two strings.
|
|
614
589
|
|
|
615
590
|
Args:
|
|
@@ -623,13 +598,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
623
598
|
|
|
624
599
|
return ConcatVarOperation.create(self, other)
|
|
625
600
|
|
|
626
|
-
|
|
627
|
-
def __radd__(self, other: StringVar | str) -> ConcatVarOperation: ...
|
|
628
|
-
|
|
629
|
-
@overload
|
|
630
|
-
def __radd__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
631
|
-
|
|
632
|
-
def __radd__(self, other: Any) -> ConcatVarOperation:
|
|
601
|
+
def __radd__(self, other: StringVar | str) -> ConcatVarOperation:
|
|
633
602
|
"""Concatenate two strings.
|
|
634
603
|
|
|
635
604
|
Args:
|
|
@@ -643,13 +612,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
643
612
|
|
|
644
613
|
return ConcatVarOperation.create(other, self)
|
|
645
614
|
|
|
646
|
-
|
|
647
|
-
def __mul__(self, other: NumberVar | int) -> StringVar: ...
|
|
648
|
-
|
|
649
|
-
@overload
|
|
650
|
-
def __mul__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
651
|
-
|
|
652
|
-
def __mul__(self, other: Any) -> StringVar:
|
|
615
|
+
def __mul__(self, other: NumberVar | int) -> StringVar:
|
|
653
616
|
"""Multiply the sequence by a number or an integer.
|
|
654
617
|
|
|
655
618
|
Args:
|
|
@@ -663,13 +626,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
663
626
|
|
|
664
627
|
return (self.split() * other).join()
|
|
665
628
|
|
|
666
|
-
|
|
667
|
-
def __rmul__(self, other: NumberVar | int) -> StringVar: ...
|
|
668
|
-
|
|
669
|
-
@overload
|
|
670
|
-
def __rmul__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
671
|
-
|
|
672
|
-
def __rmul__(self, other: Any) -> StringVar:
|
|
629
|
+
def __rmul__(self, other: NumberVar | int) -> StringVar:
|
|
673
630
|
"""Multiply the sequence by a number or an integer.
|
|
674
631
|
|
|
675
632
|
Args:
|
|
@@ -762,17 +719,9 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
762
719
|
"""
|
|
763
720
|
return self.split().reverse().join()
|
|
764
721
|
|
|
765
|
-
@overload
|
|
766
722
|
def contains(
|
|
767
723
|
self, other: StringVar | str, field: StringVar | str | None = None
|
|
768
|
-
) -> BooleanVar:
|
|
769
|
-
|
|
770
|
-
@overload
|
|
771
|
-
def contains( # pyright: ignore [reportOverlappingOverload]
|
|
772
|
-
self, other: NoReturn, field: StringVar | str | None = None
|
|
773
|
-
) -> NoReturn: ...
|
|
774
|
-
|
|
775
|
-
def contains(self, other: Any, field: Any = None) -> BooleanVar:
|
|
724
|
+
) -> BooleanVar:
|
|
776
725
|
"""Check if the string contains another string.
|
|
777
726
|
|
|
778
727
|
Args:
|
|
@@ -790,13 +739,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
790
739
|
return string_contains_field_operation(self, other, field)
|
|
791
740
|
return string_contains_operation(self, other)
|
|
792
741
|
|
|
793
|
-
|
|
794
|
-
def split(self, separator: StringVar | str = "") -> ArrayVar[list[str]]: ...
|
|
795
|
-
|
|
796
|
-
@overload
|
|
797
|
-
def split(self, separator: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
798
|
-
|
|
799
|
-
def split(self, separator: Any = "") -> ArrayVar[list[str]]:
|
|
742
|
+
def split(self, separator: StringVar | str = "") -> ArrayVar[list[str]]:
|
|
800
743
|
"""Split the string.
|
|
801
744
|
|
|
802
745
|
Args:
|
|
@@ -809,13 +752,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
809
752
|
raise_unsupported_operand_types("split", (type(self), type(separator)))
|
|
810
753
|
return string_split_operation(self, separator)
|
|
811
754
|
|
|
812
|
-
|
|
813
|
-
def startswith(self, prefix: StringVar | str) -> BooleanVar: ...
|
|
814
|
-
|
|
815
|
-
@overload
|
|
816
|
-
def startswith(self, prefix: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
817
|
-
|
|
818
|
-
def startswith(self, prefix: Any) -> BooleanVar:
|
|
755
|
+
def startswith(self, prefix: StringVar | str) -> BooleanVar:
|
|
819
756
|
"""Check if the string starts with a prefix.
|
|
820
757
|
|
|
821
758
|
Args:
|
|
@@ -828,13 +765,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
828
765
|
raise_unsupported_operand_types("startswith", (type(self), type(prefix)))
|
|
829
766
|
return string_starts_with_operation(self, prefix)
|
|
830
767
|
|
|
831
|
-
|
|
832
|
-
def endswith(self, suffix: StringVar | str) -> BooleanVar: ...
|
|
833
|
-
|
|
834
|
-
@overload
|
|
835
|
-
def endswith(self, suffix: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
836
|
-
|
|
837
|
-
def endswith(self, suffix: Any) -> BooleanVar:
|
|
768
|
+
def endswith(self, suffix: StringVar | str) -> BooleanVar:
|
|
838
769
|
"""Check if the string ends with a suffix.
|
|
839
770
|
|
|
840
771
|
Args:
|
|
@@ -847,13 +778,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
847
778
|
raise_unsupported_operand_types("endswith", (type(self), type(suffix)))
|
|
848
779
|
return string_ends_with_operation(self, suffix)
|
|
849
780
|
|
|
850
|
-
|
|
851
|
-
def __lt__(self, other: StringVar | str) -> BooleanVar: ...
|
|
852
|
-
|
|
853
|
-
@overload
|
|
854
|
-
def __lt__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
855
|
-
|
|
856
|
-
def __lt__(self, other: Any):
|
|
781
|
+
def __lt__(self, other: StringVar | str) -> BooleanVar:
|
|
857
782
|
"""Check if the string is less than another string.
|
|
858
783
|
|
|
859
784
|
Args:
|
|
@@ -867,13 +792,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
867
792
|
|
|
868
793
|
return string_lt_operation(self, other)
|
|
869
794
|
|
|
870
|
-
|
|
871
|
-
def __gt__(self, other: StringVar | str) -> BooleanVar: ...
|
|
872
|
-
|
|
873
|
-
@overload
|
|
874
|
-
def __gt__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
875
|
-
|
|
876
|
-
def __gt__(self, other: Any):
|
|
795
|
+
def __gt__(self, other: StringVar | str) -> BooleanVar:
|
|
877
796
|
"""Check if the string is greater than another string.
|
|
878
797
|
|
|
879
798
|
Args:
|
|
@@ -887,13 +806,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
887
806
|
|
|
888
807
|
return string_gt_operation(self, other)
|
|
889
808
|
|
|
890
|
-
|
|
891
|
-
def __le__(self, other: StringVar | str) -> BooleanVar: ...
|
|
892
|
-
|
|
893
|
-
@overload
|
|
894
|
-
def __le__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
895
|
-
|
|
896
|
-
def __le__(self, other: Any):
|
|
809
|
+
def __le__(self, other: StringVar | str) -> BooleanVar:
|
|
897
810
|
"""Check if the string is less than or equal to another string.
|
|
898
811
|
|
|
899
812
|
Args:
|
|
@@ -907,13 +820,7 @@ class StringVar(Var[STRING_TYPE], python_types=str):
|
|
|
907
820
|
|
|
908
821
|
return string_le_operation(self, other)
|
|
909
822
|
|
|
910
|
-
|
|
911
|
-
def __ge__(self, other: StringVar | str) -> BooleanVar: ...
|
|
912
|
-
|
|
913
|
-
@overload
|
|
914
|
-
def __ge__(self, other: NoReturn) -> NoReturn: ... # pyright: ignore [reportOverlappingOverload]
|
|
915
|
-
|
|
916
|
-
def __ge__(self, other: Any):
|
|
823
|
+
def __ge__(self, other: StringVar | str) -> BooleanVar:
|
|
917
824
|
"""Check if the string is greater than or equal to another string.
|
|
918
825
|
|
|
919
826
|
Args:
|
|
@@ -1683,6 +1590,8 @@ def _determine_value_of_array_index(
|
|
|
1683
1590
|
if t is not type(None)
|
|
1684
1591
|
]
|
|
1685
1592
|
)
|
|
1593
|
+
if origin_var_type is range:
|
|
1594
|
+
return int
|
|
1686
1595
|
if origin_var_type in [
|
|
1687
1596
|
Sequence,
|
|
1688
1597
|
Iterable,
|
|
@@ -1974,3 +1883,85 @@ class LiteralColorVar(CachedVarOperation, LiteralVar, ColorVar):
|
|
|
1974
1883
|
):
|
|
1975
1884
|
raise TypeError("Color is not a valid color.")
|
|
1976
1885
|
return f"var(--{color}-{'a' if alpha else ''}{shade})"
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
class RangeVar(ArrayVar[Sequence[int]], python_types=range):
|
|
1889
|
+
"""Base class for immutable range vars."""
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
@dataclasses.dataclass(
|
|
1893
|
+
eq=False,
|
|
1894
|
+
frozen=True,
|
|
1895
|
+
slots=True,
|
|
1896
|
+
)
|
|
1897
|
+
class LiteralRangeVar(CachedVarOperation, LiteralVar, RangeVar):
|
|
1898
|
+
"""Base class for immutable literal range vars."""
|
|
1899
|
+
|
|
1900
|
+
_var_value: range = dataclasses.field(default_factory=lambda: range(0))
|
|
1901
|
+
|
|
1902
|
+
@classmethod
|
|
1903
|
+
def create(
|
|
1904
|
+
cls,
|
|
1905
|
+
value: range,
|
|
1906
|
+
_var_type: Type[range] | None = None,
|
|
1907
|
+
_var_data: VarData | None = None,
|
|
1908
|
+
) -> RangeVar:
|
|
1909
|
+
"""Create a var from a string value.
|
|
1910
|
+
|
|
1911
|
+
Args:
|
|
1912
|
+
value: The value to create the var from.
|
|
1913
|
+
_var_type: The type of the var.
|
|
1914
|
+
_var_data: Additional hooks and imports associated with the Var.
|
|
1915
|
+
|
|
1916
|
+
Returns:
|
|
1917
|
+
The var.
|
|
1918
|
+
"""
|
|
1919
|
+
return cls(
|
|
1920
|
+
_js_expr="",
|
|
1921
|
+
_var_type=_var_type or range,
|
|
1922
|
+
_var_data=_var_data,
|
|
1923
|
+
_var_value=value,
|
|
1924
|
+
)
|
|
1925
|
+
|
|
1926
|
+
def __hash__(self) -> int:
|
|
1927
|
+
"""Get the hash of the var.
|
|
1928
|
+
|
|
1929
|
+
Returns:
|
|
1930
|
+
The hash of the var.
|
|
1931
|
+
"""
|
|
1932
|
+
return hash(
|
|
1933
|
+
(
|
|
1934
|
+
self.__class__.__name__,
|
|
1935
|
+
self._var_value.start,
|
|
1936
|
+
self._var_value.stop,
|
|
1937
|
+
self._var_value.step,
|
|
1938
|
+
)
|
|
1939
|
+
)
|
|
1940
|
+
|
|
1941
|
+
@cached_property_no_lock
|
|
1942
|
+
def _cached_var_name(self) -> str:
|
|
1943
|
+
"""The name of the var.
|
|
1944
|
+
|
|
1945
|
+
Returns:
|
|
1946
|
+
The name of the var.
|
|
1947
|
+
"""
|
|
1948
|
+
return f"Array.from({{ length: Math.ceil(({self._var_value.stop!s} - {self._var_value.start!s}) / {self._var_value.step!s}) }}, (_, i) => {self._var_value.start!s} + i * {self._var_value.step!s})"
|
|
1949
|
+
|
|
1950
|
+
@cached_property_no_lock
|
|
1951
|
+
def _cached_get_all_var_data(self) -> VarData | None:
|
|
1952
|
+
"""Get all the var data.
|
|
1953
|
+
|
|
1954
|
+
Returns:
|
|
1955
|
+
The var data.
|
|
1956
|
+
"""
|
|
1957
|
+
return self._var_data
|
|
1958
|
+
|
|
1959
|
+
def json(self) -> str:
|
|
1960
|
+
"""Get the JSON representation of the var.
|
|
1961
|
+
|
|
1962
|
+
Returns:
|
|
1963
|
+
The JSON representation of the var.
|
|
1964
|
+
"""
|
|
1965
|
+
return json.dumps(
|
|
1966
|
+
list(self._var_value),
|
|
1967
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reflex
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
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
|
|
@@ -23,7 +23,8 @@ Requires-Dist: build<2.0,>=1.0.3
|
|
|
23
23
|
Requires-Dist: charset-normalizer<4.0,>=3.3.2
|
|
24
24
|
Requires-Dist: distro<2.0,>=1.8.0; platform_system == 'Linux'
|
|
25
25
|
Requires-Dist: fastapi!=0.111.0,!=0.111.1,>=0.96.0
|
|
26
|
-
Requires-Dist:
|
|
26
|
+
Requires-Dist: granian[reload]>=2.0.0
|
|
27
|
+
Requires-Dist: gunicorn<24.0.0,>=23.0.0
|
|
27
28
|
Requires-Dist: httpx<1.0,>=0.25.1
|
|
28
29
|
Requires-Dist: jinja2<4.0,>=3.1.2
|
|
29
30
|
Requires-Dist: lazy-loader>=0.4
|
|
@@ -60,6 +61,7 @@ Description-Content-Type: text/markdown
|
|
|
60
61
|
[](https://badge.fury.io/py/reflex)
|
|
61
62
|

|
|
62
63
|
[](https://reflex.dev/docs/getting-started/introduction)
|
|
64
|
+
[](https://pepy.tech/projects/reflex)
|
|
63
65
|
[](https://discord.gg/T5WSbC2YtQ)
|
|
64
66
|
|
|
65
67
|
</div>
|
|
@@ -2,20 +2,19 @@ reflex/__init__.py,sha256=64HB9b6MKesl3Yv6aZMsozdMKKpgnxirKk-aeN45UYY,10341
|
|
|
2
2
|
reflex/__init__.pyi,sha256=j4ZkO-mKKw5dFBhJVbaOg7AlncO-JCckV2cHENPiLG0,11303
|
|
3
3
|
reflex/__main__.py,sha256=6cVrGEyT3j3tEvlEVUatpaYfbB5EF3UVY-6vc_Z7-hw,108
|
|
4
4
|
reflex/admin.py,sha256=wu_vYqB0rU2njYBJSI0XZgVEkAFVZNQNUkUUXrlFbZc,343
|
|
5
|
-
reflex/app.py,sha256=
|
|
6
|
-
reflex/app_module_for_backend.py,sha256=iuEYcJNRai59vReNUIZgixtYlFHYcYp_LNFB9DPQnKs,1134
|
|
5
|
+
reflex/app.py,sha256=SUaN7G_CHdfKTQU2NQPx1lelg2YPyI-hBH23JhQdAu0,69389
|
|
7
6
|
reflex/assets.py,sha256=PLTKAMYPKMZq8eWXKX8uco6NZ9IiPGWal0bOPLUmU7k,3364
|
|
8
|
-
reflex/base.py,sha256=
|
|
9
|
-
reflex/config.py,sha256=
|
|
7
|
+
reflex/base.py,sha256=UuWQkOgZYvJNSIkYuNpb4wp9WtIBXlfmxXARAnOXiZ4,3889
|
|
8
|
+
reflex/config.py,sha256=f3SNQnaqvvxNcTWm6Jo1eOf7LUB9jxmAXeLmGnf_4Yg,35218
|
|
10
9
|
reflex/event.py,sha256=EX-9X-c8gIudZjRDG8qSrVAbegcaGkYXxLLRWg-7IOA,60758
|
|
11
10
|
reflex/model.py,sha256=k6qCweATPW1YRB_qcHwa5X35btJmtIlB4zEQ63FaW3w,17527
|
|
12
11
|
reflex/page.py,sha256=qEt8n5EtawSywCzdsiaNQJWhC8ie-vg8ig0JGuVavPI,2386
|
|
13
12
|
reflex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
reflex/reflex.py,sha256=
|
|
13
|
+
reflex/reflex.py,sha256=ka_BOQTeC3jKwZflM3ka6aijvhFV0hNMzwUmBjH-iSU,21034
|
|
15
14
|
reflex/route.py,sha256=nn_hJwtQdjiqH_dHXfqMGWKllnyPQZTSR-KWdHDhoOs,4210
|
|
16
|
-
reflex/state.py,sha256=
|
|
15
|
+
reflex/state.py,sha256=yWHL8V3j20thHrOa1_aT6gWTUFgTVnFPFIL5N922muo,141886
|
|
17
16
|
reflex/style.py,sha256=dilXPn8de80NzsXT53GPJrmjELC5nPYIlCgongyq1zM,13145
|
|
18
|
-
reflex/testing.py,sha256=
|
|
17
|
+
reflex/testing.py,sha256=IpjUHBNOJDAQtu6HnazfWIacEO5cIJvyHlCr6dYpr38,35585
|
|
19
18
|
reflex/.templates/apps/blank/assets/favicon.ico,sha256=baxxgDAQ2V4-G5Q4S2yK5uUJTUGkv-AOWBQ0xd6myUo,4286
|
|
20
19
|
reflex/.templates/apps/blank/code/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
20
|
reflex/.templates/apps/blank/code/blank.py,sha256=oKnsBBZM1-_RFAuwGKgfiCzgsrHlN_m_XP0-Fpnld7k,926
|
|
@@ -44,7 +43,7 @@ reflex/.templates/web/.gitignore,sha256=3tT0CtVkCL09D_Y3Hd4myUgGcBuESeavCa0WHU5i
|
|
|
44
43
|
reflex/.templates/web/jsconfig.json,sha256=rhQZZRBYxBWclFYTeU6UakzbGveM4qyRQZUpEAVhyqY,118
|
|
45
44
|
reflex/.templates/web/next.config.js,sha256=ZpGOqo9wHEbt0S08G70VfUNUjFe79UXo7Cde8X8V10E,118
|
|
46
45
|
reflex/.templates/web/postcss.config.js,sha256=pWczoUW-Y0gYUuHAW4ZK0hQNWTcMC2UGu2i-sQ-YqUs,109
|
|
47
|
-
reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js,sha256=
|
|
46
|
+
reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js,sha256=kheF_HclOOabMbqYzdAVbN_EpAGAD26KBLCvJ-Vcu_E,1836
|
|
48
47
|
reflex/.templates/web/components/shiki/code.js,sha256=UO0hQnm2w1j2VMgj46cnplO6ZLK3p3qhcxp6irjZBxQ,1116
|
|
49
48
|
reflex/.templates/web/styles/tailwind.css,sha256=wGOoICTy1G0e5bWZ4LYOVgRa3ZT7M44tC4g6CKh6ZPo,112
|
|
50
49
|
reflex/.templates/web/utils/client_side_routing.js,sha256=cOu4wUHDQtGl1yo5goxljZ94SLZLyr9R3S9Rehcvjio,1475
|
|
@@ -59,13 +58,13 @@ reflex/app_mixins/lifespan.py,sha256=fwtaa9NnyENdDa8_RUHUsT8L9qnZKxcpL-mEGLTGldo
|
|
|
59
58
|
reflex/app_mixins/middleware.py,sha256=_B33NZdbuI16IUPTENyfCmEfJ6OxFHm6rObl3JdIs-Y,3286
|
|
60
59
|
reflex/app_mixins/mixin.py,sha256=si0Pa0U1EtJc-a6iZntqU9B7_NrPILwrGFxk9mKHBCE,317
|
|
61
60
|
reflex/compiler/__init__.py,sha256=r8jqmDSFf09iV2lHlNhfc9XrTLjNxfDNwPYlxS4cmHE,27
|
|
62
|
-
reflex/compiler/compiler.py,sha256=
|
|
61
|
+
reflex/compiler/compiler.py,sha256=eSDY31pPDtPREI1V75uYYJUwuzTKKQVUJzSmEAyype0,26032
|
|
63
62
|
reflex/compiler/templates.py,sha256=NX3YUMVGGyDsy2JuDv-AmklMM0pKJHLPsIpdqamgqRQ,5854
|
|
64
63
|
reflex/compiler/utils.py,sha256=w8KcAXneXQxPOSei7BvAfA9MzR4jQWjDlxm8ahN1UM0,16083
|
|
65
64
|
reflex/components/__init__.py,sha256=zbIXThv1WPI0FdIGf9G9RAmGoCRoGy7nHcSZ8K5D5bA,624
|
|
66
65
|
reflex/components/__init__.pyi,sha256=qoj1zIWaitcZOGcJ6k7wuGJk_GAJCE9Xtx8CeRVrvoE,861
|
|
67
|
-
reflex/components/component.py,sha256=
|
|
68
|
-
reflex/components/dynamic.py,sha256=
|
|
66
|
+
reflex/components/component.py,sha256=ijqgaRi2xuKwrr0xmrnuE8ivFGxMKYop7nIWYNWHSgA,88899
|
|
67
|
+
reflex/components/dynamic.py,sha256=DdlFbtciytsEbVdFHm-obmE4FFkSR6x2DH0BzYI_4C4,7150
|
|
69
68
|
reflex/components/literals.py,sha256=hogLnwTJxFJODIvqihg-GD9kFZVsEBDoYzaRit56Nuk,501
|
|
70
69
|
reflex/components/props.py,sha256=8F2ZNeF16BDiTh-E4F-U_vks41BMJgmkTM7xbjGvfOA,2593
|
|
71
70
|
reflex/components/base/__init__.py,sha256=QIOxOPT87WrSE4TSHAsZ-358VzvUXAe1w8vWogQ3Uuo,730
|
|
@@ -98,12 +97,12 @@ reflex/components/core/auto_scroll.pyi,sha256=4oTNr6ixo5D0rzmIQVXGCEUpHSSa7KdrkW
|
|
|
98
97
|
reflex/components/core/banner.py,sha256=OB8HlnytknFQotVoBNsbCHxE6_3W96JCCtvxS6R3QKU,18473
|
|
99
98
|
reflex/components/core/banner.pyi,sha256=owB8dbiHh2YMeJsggCM5zQ3kpfIcGXoxTWQdscakpwQ,24586
|
|
100
99
|
reflex/components/core/breakpoints.py,sha256=fDtfDoZqJnAOnBvpp0640FCKbuMyC9dVoSf0-RE7n6Y,2756
|
|
101
|
-
reflex/components/core/client_side_routing.py,sha256=
|
|
100
|
+
reflex/components/core/client_side_routing.py,sha256=CgW29H4Kiy5V4AKdJlFT9gSWaFUfki3f3Prf9twbbqA,1881
|
|
102
101
|
reflex/components/core/client_side_routing.pyi,sha256=XODI3H05ccxhAo-_SvFJjKFxTAkWbRsA-wmTe9uBxRo,4182
|
|
103
102
|
reflex/components/core/clipboard.py,sha256=WH2pagKO0H5G7BaIT1kChRzrMV-aP5ENv1lIKbkRzJ8,3354
|
|
104
103
|
reflex/components/core/clipboard.pyi,sha256=PiCieOSgQWwN5M7uHl11_kSqUXBN8J3glred4TH-yiQ,3041
|
|
105
104
|
reflex/components/core/colors.py,sha256=-hzVGLEq3TiqroqzMi_YzGBCPXMvkNsen3pS_NzIQNk,590
|
|
106
|
-
reflex/components/core/cond.py,sha256=
|
|
105
|
+
reflex/components/core/cond.py,sha256=j5V-CGjoB6W_Ch0blQYzLuepjLqtX4vXb8e6qvEL_3I,5685
|
|
107
106
|
reflex/components/core/debounce.py,sha256=qZsnu-7xfxz3NJS4-UnA_2YQz2P8SznJyuwZz98nEwE,4961
|
|
108
107
|
reflex/components/core/debounce.pyi,sha256=QjyPCR1eVGxTdDFnFPD9Ir9QbJLk-2xU8f-hSMZHcfU,2883
|
|
109
108
|
reflex/components/core/foreach.py,sha256=s2wgxcgEBc_8PfTKolDjbRz1pgdKZCdq8tqk87t3QVQ,5827
|
|
@@ -113,7 +112,7 @@ reflex/components/core/match.py,sha256=M39oK1DxnfU1GW07_78mo8vYttR7PP-jH7WZY111i
|
|
|
113
112
|
reflex/components/core/responsive.py,sha256=ACZdtJ4a4F8B3dm1k8h6J2_UJx0Z5LDB7XHQ2ty4wAc,1911
|
|
114
113
|
reflex/components/core/sticky.py,sha256=2B3TxrwG2Rtp_lv1VkMOIF2bqSiT7qYGbqbiZiMKxKY,3856
|
|
115
114
|
reflex/components/core/sticky.pyi,sha256=fHmH_EwTvrVUHbq-13fT-TK0R_yUMBSc2Hp-1IowpTM,32071
|
|
116
|
-
reflex/components/core/upload.py,sha256=
|
|
115
|
+
reflex/components/core/upload.py,sha256=mBGavdmP1A-xySEsMi6Emi0mffJ1p-BQj7mscLlPBmA,11913
|
|
117
116
|
reflex/components/core/upload.pyi,sha256=ZK22Hnc4eXhOsRbrAbakrzM5oGk05DdRHWurBNI5HRM,14602
|
|
118
117
|
reflex/components/core/layout/__init__.py,sha256=znldZaj_NGt8qCZDG70GMwjMTskcvCf_2N_EjCAHwdc,30
|
|
119
118
|
reflex/components/datadisplay/__init__.py,sha256=L8pWWKNHWdUD2fbZRoEKjd_8c_hpDdGYO463hwkoIi4,438
|
|
@@ -159,7 +158,7 @@ reflex/components/gridjs/__init__.py,sha256=xJwDm1AZ70L5-t9LLqZwGUtDpijbf1KuMYDT
|
|
|
159
158
|
reflex/components/gridjs/datatable.py,sha256=Q2P2lFbPEujVa6bfetV0w4Oc81APX9YgVKGnKCvhSxY,4197
|
|
160
159
|
reflex/components/gridjs/datatable.pyi,sha256=zVZTSTTQJY5jjrCTnyah3XM6aySyhq_mbhBWnbFg6Io,4859
|
|
161
160
|
reflex/components/lucide/__init__.py,sha256=EggTK2MuQKQeOBLKW-mF0VaDK9zdWBImu1HO2dvHZbE,73
|
|
162
|
-
reflex/components/lucide/icon.py,sha256=
|
|
161
|
+
reflex/components/lucide/icon.py,sha256=lRmzrsoT2_zvC8mKAZx0b1SJW_6ebEmRjWop2ggGHwM,33600
|
|
163
162
|
reflex/components/lucide/icon.pyi,sha256=DZkrFkUSq-BT23taozAIDfPuHAF3V9AsVYwaEeOCgm0,35884
|
|
164
163
|
reflex/components/markdown/__init__.py,sha256=Dfl1At5uYoY7H4ufZU_RY2KOGQDLtj75dsZ2BTqqAns,87
|
|
165
164
|
reflex/components/markdown/markdown.py,sha256=9VoxHQNZe44pVDoT_2b897dTn7vcel7oglBF-iTu0aM,16186
|
|
@@ -177,7 +176,7 @@ reflex/components/next/link.pyi,sha256=2-IJbrQ132FlLraBxYEXaVtVZ-Mr8fHPY--veOL5A
|
|
|
177
176
|
reflex/components/next/video.py,sha256=GNCIPnT4pPPVp5W5P9CezVPksxCFO-YSlb2TJSJ1sG4,703
|
|
178
177
|
reflex/components/next/video.pyi,sha256=z7nX_P2rSBgFIAMhqOVEbExCJM8srSdEczR2QXcPTrg,2315
|
|
179
178
|
reflex/components/plotly/__init__.py,sha256=6B_woBJhkrVA9O_AbOTbsA_SxWsqjicYHmLA9FLjGfU,650
|
|
180
|
-
reflex/components/plotly/plotly.py,sha256=
|
|
179
|
+
reflex/components/plotly/plotly.py,sha256=N4aTmIfUG7UfCjH2gnSrbOTUSkQqBswbPj0nD9rwB8A,14853
|
|
181
180
|
reflex/components/plotly/plotly.pyi,sha256=Qsxuz3ltLozNpk40e8iY92X8sos4hI7NhXAVqAndzkg,46843
|
|
182
181
|
reflex/components/radix/__init__.py,sha256=fRsLvIO3MrTtPOXtmnxYDB9phvzlcbyB_utgpafYMho,474
|
|
183
182
|
reflex/components/radix/__init__.pyi,sha256=YpWw_k35yv_Yq_0RZNCb52fJZ3dANWAnQllhVoVCWEE,3988
|
|
@@ -325,10 +324,10 @@ reflex/components/recharts/general.py,sha256=ff3Y4cXV9H8XruN0eyHUDf11mV3cGXWFaVl
|
|
|
325
324
|
reflex/components/recharts/general.pyi,sha256=sRJUwnNfsQ-ASS5OE4qTknNKq5MgN1u4G3nv7K2xARg,22643
|
|
326
325
|
reflex/components/recharts/polar.py,sha256=82KtPsk0RcW1Ci7B3Uivja8gM7vJ8l_LorVKFNVeLVE,15549
|
|
327
326
|
reflex/components/recharts/polar.pyi,sha256=VkxCu6MyYxn-g-yYdfRy8LofpsmRsxa9M589U8E3Dr4,26369
|
|
328
|
-
reflex/components/recharts/recharts.py,sha256=
|
|
327
|
+
reflex/components/recharts/recharts.py,sha256=is9FG2MJ6aYsZLDe1uW4zWNRs7LNJFKVbAndYC77jqA,3176
|
|
329
328
|
reflex/components/recharts/recharts.pyi,sha256=Vr-YW67RKqg-Tzp2YBvkRS-sQc-9jA8wZr1P-Vxm7qg,6711
|
|
330
329
|
reflex/components/sonner/__init__.py,sha256=L_mdRIy7-ccRGSz5VK6J8O-c-e-D1p9xWw29_ErrvGg,68
|
|
331
|
-
reflex/components/sonner/toast.py,sha256
|
|
330
|
+
reflex/components/sonner/toast.py,sha256=hvjzVN3eclix7PJpDTVkFSD_Re8X0lCPjHh5EfRjDro,12440
|
|
332
331
|
reflex/components/sonner/toast.pyi,sha256=MDb952Jblm4HQOIEtZOCEL2UPYHAuY0xwqFBnZL2n38,7461
|
|
333
332
|
reflex/components/suneditor/__init__.py,sha256=htkPzy0O_1ro1nw8w8gFPjYhg5xywMpsUfc4Dl3OHuw,109
|
|
334
333
|
reflex/components/suneditor/editor.py,sha256=8Unbp3mv7Fxjvsxy-uvTBf6hYaCnkwkK6-exPF5ymRU,8017
|
|
@@ -339,20 +338,20 @@ reflex/components/tags/iter_tag.py,sha256=AgKtcRvuxUe8QJPU8iQp6HvOQwdENjlYFO8dYs
|
|
|
339
338
|
reflex/components/tags/match_tag.py,sha256=3lba1H5pCcKkqxEHzM6DZb5s9s0yJLN4Se3vdhzar24,580
|
|
340
339
|
reflex/components/tags/tag.py,sha256=1fopahujLVjH871UOdmau_n1kEddbQotN5MpKW_s8PU,3644
|
|
341
340
|
reflex/components/tags/tagless.py,sha256=qO7Gm4V0ITDyymHkyltfz53155ZBt-W_WIPDYy93ca0,587
|
|
342
|
-
reflex/constants/__init__.py,sha256=
|
|
343
|
-
reflex/constants/base.py,sha256=
|
|
341
|
+
reflex/constants/__init__.py,sha256=c5k9wh50zB_zDXkublXepPZsfAmnYx7ZeNSufIX5qKM,2180
|
|
342
|
+
reflex/constants/base.py,sha256=dB-gHb19wYdT_oQHxg0rxFIqM7ljtcr2BCOZDgHEawg,7937
|
|
344
343
|
reflex/constants/colors.py,sha256=cgLn8iEWtlpjQgbhhlCOGjbhfOULKnzqqzPph63SJoI,1613
|
|
345
344
|
reflex/constants/compiler.py,sha256=7EdvrKNyr-C7e2T6Xmvd5gpTo5rh4SAHZpmQFV1rrM4,5676
|
|
346
345
|
reflex/constants/config.py,sha256=4EljK_fD1Nf4-OfJ9HLYeHSW5xTfNPN6AGjzJ5ARZSY,1579
|
|
347
346
|
reflex/constants/custom_components.py,sha256=joJt4CEt1yKy7wsBH6vYo7_QRW0O_fWXrrTf0VY2q14,1317
|
|
348
347
|
reflex/constants/event.py,sha256=8PWobGXnUIbkRS73dRiroj5BJw4C3sbo5AHAhJTZFyM,2849
|
|
349
|
-
reflex/constants/installer.py,sha256=
|
|
348
|
+
reflex/constants/installer.py,sha256=Ia117STVw-ySvOK0hRFlwsI1yJ8ucWiPCh5JWuFQjXs,2518
|
|
350
349
|
reflex/constants/route.py,sha256=J4QVdeeYz9wX0lYT1sgx0m3kLSArDHzmGCDZ2sqy854,2139
|
|
351
350
|
reflex/constants/state.py,sha256=6Mfr7xVcAZOj5aSy7kp0W6r8oTs7K30URgGDAAFLfPQ,294
|
|
352
351
|
reflex/constants/style.py,sha256=EPgRYHhAlcrPUBc2HkDTdTj-Q0uDAXHlq8Sp6D35Zf4,475
|
|
353
352
|
reflex/constants/utils.py,sha256=GJhFj1uba54CDPEm70tWs8B5iS2siHgeNi--oGCjeRc,759
|
|
354
353
|
reflex/custom_components/__init__.py,sha256=R4zsvOi4dfPmHc18KEphohXnQFBPnUCb50cMR5hSLDE,36
|
|
355
|
-
reflex/custom_components/custom_components.py,sha256=
|
|
354
|
+
reflex/custom_components/custom_components.py,sha256=Ho3W97wfStsEVh6BuTEORhc3bd4UoCYzY3yB4YdVBUI,33592
|
|
356
355
|
reflex/experimental/__init__.py,sha256=bvJ6qFeO3xT3L-8IBtk4ecoi5rda3EDvblgNP60yhEo,2206
|
|
357
356
|
reflex/experimental/client_state.py,sha256=p_Toz94fNQGMbHY1WlwfQ-i_M01f1ExA9t1iokSvdLc,9880
|
|
358
357
|
reflex/experimental/hooks.py,sha256=CHYGrAE5t8riltrJmDFgJ4D2Vhmhw-y3B3MSGNlOQow,2366
|
|
@@ -369,37 +368,37 @@ reflex/middleware/__init__.py,sha256=x7xTeDuc73Hjj43k1J63naC9x8vzFxl4sq7cCFBX7sk
|
|
|
369
368
|
reflex/middleware/hydrate_middleware.py,sha256=1ch7bx2ZhojOR15b-LHD2JztrWCnpPJjTe8MWHJe-5Y,1510
|
|
370
369
|
reflex/middleware/middleware.py,sha256=p5VVoIgQ_NwOg_GOY6g0S4fmrV76_VE1zt-HiwbMw-s,1158
|
|
371
370
|
reflex/utils/__init__.py,sha256=y-AHKiRQAhk2oAkvn7W8cRVTZVK625ff8tTwvZtO7S4,24
|
|
372
|
-
reflex/utils/build.py,sha256=
|
|
371
|
+
reflex/utils/build.py,sha256=yt6obelsj1MUhTVHoaxdOH--gYtIEpekYjTN97iFrNg,9118
|
|
373
372
|
reflex/utils/codespaces.py,sha256=TzDK--pHwP4r8Nzl0iB_8r-cOFmmL6nHfZ9xRQHA-KY,2754
|
|
374
373
|
reflex/utils/compat.py,sha256=aSJH_M6iomgHPQ4onQ153xh1MWqPi3HSYDzE68N6gZM,2635
|
|
375
374
|
reflex/utils/console.py,sha256=slDTb_5QXfSvdflFiwJauc874R2zqo8BOSh37JUhYLY,9469
|
|
376
375
|
reflex/utils/decorator.py,sha256=EYdAjPdfgFjqjYSmLlc9qzOYnoihzavG5T4tgVgzsw4,1171
|
|
377
376
|
reflex/utils/exceptions.py,sha256=Wwu7Ji2xgq521bJKtU2NgjwhmFfnG8erirEVN2h8S-g,8884
|
|
378
|
-
reflex/utils/exec.py,sha256=
|
|
377
|
+
reflex/utils/exec.py,sha256=ASbL7NhicY0NHkNd0Xye8mCxDxkzIgbzf2m1cnGYwks,19262
|
|
379
378
|
reflex/utils/export.py,sha256=bcJA0L8lBbjij-5PU93ka2c1d_yJqrIurp5u4mN5f68,2537
|
|
380
379
|
reflex/utils/format.py,sha256=a8em_yzqp9pLTrPXRsdzFWSO1qL2x25BpJXOf9DV1t8,20638
|
|
381
380
|
reflex/utils/imports.py,sha256=-EkUt9y5U3qmImjfpsXwYh7JI9qJHd_L6X9y12EPJew,3921
|
|
382
381
|
reflex/utils/lazy_loader.py,sha256=-3DcwIqHNft2fb1ikgDYAMiEwNfbiWfrTBAf1gEVX2o,1367
|
|
383
|
-
reflex/utils/net.py,sha256=
|
|
384
|
-
reflex/utils/path_ops.py,sha256=
|
|
385
|
-
reflex/utils/prerequisites.py,sha256=
|
|
386
|
-
reflex/utils/processes.py,sha256=
|
|
382
|
+
reflex/utils/net.py,sha256=8ceAC_diguAxVOOJpzax2vb1RA2h4BxS8SJvpgWqGYI,3175
|
|
383
|
+
reflex/utils/path_ops.py,sha256=idGxUSJRKwYLLi7ppXkq3eV6rvAytJoO-n-FuLkwl3o,7604
|
|
384
|
+
reflex/utils/prerequisites.py,sha256=KaEoAsqv_m1_BtQGGh1ewuBIo6AZfTzzDFLAmR5XuHU,64046
|
|
385
|
+
reflex/utils/processes.py,sha256=2_qjTHToBNIn4VCBcivVxjmTvDaiWgDnF7frEmoBjBw,14749
|
|
387
386
|
reflex/utils/pyi_generator.py,sha256=cKdssbtAtGj2deOSDos9OF96w10qte8JM-TlfbzSdtw,41602
|
|
388
|
-
reflex/utils/redir.py,sha256=
|
|
389
|
-
reflex/utils/registry.py,sha256=
|
|
387
|
+
reflex/utils/redir.py,sha256=23OcUTsbThak5VYMQPOkSzyNsMB3VkgtF1bodSnHwbE,1533
|
|
388
|
+
reflex/utils/registry.py,sha256=3ft4jlq7WT8--jLNRAjhJVX0rb3z7jV1qP7kKEZBZhE,1785
|
|
390
389
|
reflex/utils/serializers.py,sha256=K8-erpNIjJNIKif0cDFExa9f5DEVuQUq0j5v5VH6aBI,13408
|
|
391
390
|
reflex/utils/telemetry.py,sha256=qwJBwjdtAV-OGKgO4h-NWhgTvfC3gbduBdn1UB8Ikes,5608
|
|
392
391
|
reflex/utils/types.py,sha256=nGX44Q_Jp33wIaxf2vxANwBWe1743V2B8RRS8H9yV4c,33449
|
|
393
392
|
reflex/vars/__init__.py,sha256=2Kv6Oh9g3ISZFESjL1al8KiO7QBZUXmLKGMCBsP-DoY,1243
|
|
394
|
-
reflex/vars/base.py,sha256=
|
|
395
|
-
reflex/vars/datetime.py,sha256=
|
|
393
|
+
reflex/vars/base.py,sha256=hD7m4_lwl-l4mK2IfoOCBtLfNBv_aNUgnWYLYj6BYPs,100603
|
|
394
|
+
reflex/vars/datetime.py,sha256=fEc68T0A6XYlAJ3AGteCIb_vDqgoO1O8tpjMzqlp9sc,5104
|
|
396
395
|
reflex/vars/dep_tracking.py,sha256=kluvF4Pfbpdqf0GcpmYHjT1yP-D1erAzaSQP6qIxjB0,13846
|
|
397
396
|
reflex/vars/function.py,sha256=2sVnhgetPSwtor8VFtAiYJdzZ9IRNzAKdsUJG6dXQcE,14461
|
|
398
|
-
reflex/vars/number.py,sha256=
|
|
397
|
+
reflex/vars/number.py,sha256=f0AeipAAbBJiHILym4bkJdOGqHnMpwNgQDeV6Lc_7ms,26781
|
|
399
398
|
reflex/vars/object.py,sha256=-fGqHThozjxAAuQL-wTwEItPiFI-ps53P2bKoSlW_As,17081
|
|
400
|
-
reflex/vars/sequence.py,sha256=
|
|
401
|
-
reflex-0.7.
|
|
402
|
-
reflex-0.7.
|
|
403
|
-
reflex-0.7.
|
|
404
|
-
reflex-0.7.
|
|
405
|
-
reflex-0.7.
|
|
399
|
+
reflex/vars/sequence.py,sha256=S0WvU4gVP7_3WNLttEoaFgUqJRjCQhXT9Auzub04ZmM,55216
|
|
400
|
+
reflex-0.7.4.dist-info/METADATA,sha256=1_oygIWk5ZgmJ_YUxkojEGxE3MPaUyP0BJaS55M6rVs,12222
|
|
401
|
+
reflex-0.7.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
402
|
+
reflex-0.7.4.dist-info/entry_points.txt,sha256=Rxt4dXc7MLBNt5CSHTehVPuSe9Xqow4HLX55nD9tQQ0,45
|
|
403
|
+
reflex-0.7.4.dist-info/licenses/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
|
|
404
|
+
reflex-0.7.4.dist-info/RECORD,,
|
reflex/app_module_for_backend.py
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"""Shims the real reflex app module for running backend server (uvicorn or gunicorn).
|
|
2
|
-
Only the app attribute is explicitly exposed.
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
from concurrent.futures import ThreadPoolExecutor
|
|
6
|
-
|
|
7
|
-
from reflex import constants
|
|
8
|
-
from reflex.utils.exec import is_prod_mode
|
|
9
|
-
from reflex.utils.prerequisites import get_and_validate_app
|
|
10
|
-
|
|
11
|
-
if constants.CompileVars.APP != "app":
|
|
12
|
-
raise AssertionError("unexpected variable name for 'app'")
|
|
13
|
-
|
|
14
|
-
app, app_module = get_and_validate_app(reload=False)
|
|
15
|
-
# For py3.9 compatibility when redis is used, we MUST add any decorator pages
|
|
16
|
-
# before compiling the app in a thread to avoid event loop error (REF-2172).
|
|
17
|
-
app._apply_decorated_pages()
|
|
18
|
-
compile_future = ThreadPoolExecutor(max_workers=1).submit(app._compile)
|
|
19
|
-
compile_future.add_done_callback(
|
|
20
|
-
# Force background compile errors to print eagerly
|
|
21
|
-
lambda f: f.result()
|
|
22
|
-
)
|
|
23
|
-
# Wait for the compile to finish in prod mode to ensure all optional endpoints are mounted.
|
|
24
|
-
if is_prod_mode():
|
|
25
|
-
compile_future.result()
|
|
26
|
-
|
|
27
|
-
# ensure only "app" is exposed.
|
|
28
|
-
del app_module
|
|
29
|
-
del compile_future
|
|
30
|
-
del get_and_validate_app
|
|
31
|
-
del is_prod_mode
|
|
32
|
-
del constants
|
|
33
|
-
del ThreadPoolExecutor
|
|
File without changes
|
|
File without changes
|
|
File without changes
|