reflex 0.6.2a1__tar.gz → 0.6.2a2__tar.gz
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-0.6.2a1 → reflex-0.6.2a2}/PKG-INFO +1 -1
- {reflex-0.6.2a1 → reflex-0.6.2a2}/pyproject.toml +1 -1
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/state.py +40 -11
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/compat.py +7 -4
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/vars/base.py +4 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/LICENSE +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/README.md +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/app/rxconfig.py.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/README.md.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/__init__.py.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/src.py.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/package.json.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/_app.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/_document.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/component.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/utils.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/styles/styles.css.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/tailwind.config.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/utils/context.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/utils/theme.js.jinja2 +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/next.config.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/styles/tailwind.css +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/utils/client_side_routing.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/web/utils/state.js +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/__main__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/admin.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/app.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/app_mixins/lifespan.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/app_mixins/middleware.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/app_mixins/mixin.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/app_module_for_backend.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/compiler/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/compiler/compiler.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/compiler/templates.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/compiler/utils.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/app_wrap.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/app_wrap.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/bare.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/body.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/body.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/document.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/document.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/error_boundary.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/error_boundary.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/fragment.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/fragment.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/head.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/head.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/link.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/link.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/meta.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/meta.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/script.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/base/script.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/component.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/banner.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/banner.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/client_side_routing.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/client_side_routing.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/clipboard.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/clipboard.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/colors.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/cond.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/debounce.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/debounce.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/foreach.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/html.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/html.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/match.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/responsive.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/upload.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/core/upload.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/datadisplay/code.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/datadisplay/code.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/datadisplay/dataeditor.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/datadisplay/dataeditor.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/dynamic.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/constants/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/constants/html.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/constants/react.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/constants/reflex.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/element.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/element.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/base.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/forms.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/forms.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/inline.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/inline.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/media.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/media.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/metadata.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/metadata.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/other.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/other.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/scripts.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/scripts.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/sectioning.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/sectioning.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/tables.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/tables.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/typography.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/el/elements/typography.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/gridjs/datatable.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/gridjs/datatable.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/literals.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/lucide/icon.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/lucide/icon.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/markdown/markdown.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/markdown/markdown.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/moment/moment.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/moment/moment.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/base.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/image.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/image.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/link.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/link.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/video.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/next/video.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/plotly/plotly.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/plotly/plotly.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/props.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/accordion.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/accordion.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/base.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/drawer.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/drawer.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/form.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/form.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/progress.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/progress.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/slider.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/primitives/slider.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/base.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/color_mode.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/color_mode.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/alert_dialog.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/alert_dialog.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/aspect_ratio.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/aspect_ratio.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/avatar.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/avatar.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/badge.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/badge.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/button.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/button.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/callout.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/callout.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/card.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/card.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/checkbox.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/checkbox.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/checkbox_cards.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/checkbox_cards.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/checkbox_group.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/checkbox_group.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/context_menu.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/context_menu.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/data_list.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/data_list.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/dialog.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/dialog.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/dropdown_menu.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/dropdown_menu.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/hover_card.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/hover_card.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/icon_button.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/icon_button.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/inset.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/inset.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/popover.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/popover.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/progress.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/progress.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/radio.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/radio.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/radio_cards.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/radio_cards.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/radio_group.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/radio_group.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/scroll_area.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/scroll_area.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/segmented_control.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/segmented_control.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/select.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/select.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/separator.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/separator.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/skeleton.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/skeleton.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/slider.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/slider.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/spinner.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/spinner.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/switch.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/switch.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/table.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/table.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/tabs.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/tabs.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/text_area.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/text_area.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/text_field.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/text_field.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/tooltip.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/components/tooltip.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/base.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/box.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/center.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/container.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/container.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/flex.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/flex.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/grid.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/grid.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/list.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/list.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/section.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/section.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/spacer.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/stack.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/layout/stack.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/blockquote.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/blockquote.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/code.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/code.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/heading.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/heading.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/link.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/link.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/text.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/radix/themes/typography/text.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/react_player/audio.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/react_player/react_player.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/react_player/react_player.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/react_player/video.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/react_player/video.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/cartesian.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/cartesian.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/charts.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/charts.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/general.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/general.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/polar.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/polar.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/recharts.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/recharts/recharts.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/sonner/toast.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/sonner/toast.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/suneditor/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/suneditor/editor.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/suneditor/editor.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/tags/cond_tag.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/tags/iter_tag.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/tags/match_tag.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/tags/tag.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/config.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/base.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/colors.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/compiler.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/config.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/custom_components.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/event.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/installer.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/route.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/constants/style.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/custom_components/custom_components.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/event.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/experimental/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/experimental/assets.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/experimental/client_state.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/experimental/hooks.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/experimental/layout.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/experimental/layout.pyi +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/experimental/misc.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/istate/data.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/middleware/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/middleware/hydrate_middleware.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/middleware/middleware.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/model.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/page.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/reflex.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/route.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/style.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/testing.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/build.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/codespaces.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/console.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/exceptions.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/exec.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/export.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/format.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/imports.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/net.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/path_ops.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/prerequisites.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/processes.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/pyi_generator.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/redir.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/registry.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/serializers.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/telemetry.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/utils/types.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/vars/__init__.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/vars/function.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/vars/number.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/vars/object.py +0 -0
- {reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/vars/sequence.py +0 -0
|
@@ -461,10 +461,10 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|
|
461
461
|
for name, value in cls.__dict__.items()
|
|
462
462
|
if types.is_backend_base_variable(name, cls)
|
|
463
463
|
}
|
|
464
|
-
# Add annotated backend vars that
|
|
464
|
+
# Add annotated backend vars that may not have a default value.
|
|
465
465
|
new_backend_vars.update(
|
|
466
466
|
{
|
|
467
|
-
name:
|
|
467
|
+
name: cls._get_var_default(name, annotation_value)
|
|
468
468
|
for name, annotation_value in get_type_hints(cls).items()
|
|
469
469
|
if name not in new_backend_vars
|
|
470
470
|
and types.is_backend_base_variable(name, cls)
|
|
@@ -990,6 +990,26 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|
|
990
990
|
# Ensure frontend uses null coalescing when accessing.
|
|
991
991
|
object.__setattr__(prop, "_var_type", Optional[prop._var_type])
|
|
992
992
|
|
|
993
|
+
@classmethod
|
|
994
|
+
def _get_var_default(cls, name: str, annotation_value: Any) -> Any:
|
|
995
|
+
"""Get the default value of a (backend) var.
|
|
996
|
+
|
|
997
|
+
Args:
|
|
998
|
+
name: The name of the var.
|
|
999
|
+
annotation_value: The annotation value of the var.
|
|
1000
|
+
|
|
1001
|
+
Returns:
|
|
1002
|
+
The default value of the var or None.
|
|
1003
|
+
"""
|
|
1004
|
+
try:
|
|
1005
|
+
return getattr(cls, name)
|
|
1006
|
+
except AttributeError:
|
|
1007
|
+
try:
|
|
1008
|
+
return Var("", _var_type=annotation_value).get_default_value()
|
|
1009
|
+
except TypeError:
|
|
1010
|
+
pass
|
|
1011
|
+
return None
|
|
1012
|
+
|
|
993
1013
|
@staticmethod
|
|
994
1014
|
def _get_base_functions() -> dict[str, FunctionType]:
|
|
995
1015
|
"""Get all functions of the state class excluding dunder methods.
|
|
@@ -1938,7 +1958,14 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|
|
1938
1958
|
Returns:
|
|
1939
1959
|
The serialized state.
|
|
1940
1960
|
"""
|
|
1941
|
-
|
|
1961
|
+
try:
|
|
1962
|
+
return pickle.dumps((state_to_schema(self), self))
|
|
1963
|
+
except pickle.PicklingError:
|
|
1964
|
+
console.warn(
|
|
1965
|
+
f"Failed to serialize state {self.get_full_name()} due to unpicklable object. "
|
|
1966
|
+
"This state will not be persisted."
|
|
1967
|
+
)
|
|
1968
|
+
return b""
|
|
1942
1969
|
|
|
1943
1970
|
@classmethod
|
|
1944
1971
|
def _deserialize(
|
|
@@ -2792,9 +2819,10 @@ class StateManagerDisk(StateManager):
|
|
|
2792
2819
|
self.states[substate_token] = substate
|
|
2793
2820
|
|
|
2794
2821
|
state_dilled = substate._serialize()
|
|
2795
|
-
if
|
|
2796
|
-
self.states_directory.
|
|
2797
|
-
|
|
2822
|
+
if state_dilled:
|
|
2823
|
+
if not self.states_directory.exists():
|
|
2824
|
+
self.states_directory.mkdir(parents=True, exist_ok=True)
|
|
2825
|
+
self.token_path(substate_token).write_bytes(state_dilled)
|
|
2798
2826
|
|
|
2799
2827
|
for substate_substate in substate.substates.values():
|
|
2800
2828
|
await self.set_state_for_substate(client_token, substate_substate)
|
|
@@ -3087,11 +3115,12 @@ class StateManagerRedis(StateManager):
|
|
|
3087
3115
|
if state._get_was_touched():
|
|
3088
3116
|
pickle_state = state._serialize()
|
|
3089
3117
|
self._warn_if_too_large(state, len(pickle_state))
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3118
|
+
if pickle_state:
|
|
3119
|
+
await self.redis.set(
|
|
3120
|
+
_substate_key(client_token, state),
|
|
3121
|
+
pickle_state,
|
|
3122
|
+
ex=self.token_expiration,
|
|
3123
|
+
)
|
|
3095
3124
|
|
|
3096
3125
|
# Wait for substates to be persisted.
|
|
3097
3126
|
for t in tasks:
|
|
@@ -19,10 +19,13 @@ async def windows_hot_reload_lifespan_hack():
|
|
|
19
19
|
import asyncio
|
|
20
20
|
import sys
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
try:
|
|
23
|
+
while True:
|
|
24
|
+
sys.stderr.write("\0")
|
|
25
|
+
sys.stderr.flush()
|
|
26
|
+
await asyncio.sleep(0.5)
|
|
27
|
+
except asyncio.CancelledError:
|
|
28
|
+
pass
|
|
26
29
|
|
|
27
30
|
|
|
28
31
|
@contextlib.contextmanager
|
|
@@ -547,6 +547,10 @@ class Var(Generic[VAR_TYPE]):
|
|
|
547
547
|
|
|
548
548
|
return self
|
|
549
549
|
|
|
550
|
+
if fixed_type is Literal:
|
|
551
|
+
args = get_args(var_type)
|
|
552
|
+
fixed_type = unionize(*(type(arg) for arg in args))
|
|
553
|
+
|
|
550
554
|
if not inspect.isclass(fixed_type):
|
|
551
555
|
raise TypeError(f"Unsupported type {var_type} for guess_type.")
|
|
552
556
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/README.md.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/__init__.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
{reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.2a1 → reflex-0.6.2a2}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|