reflex/reflex
Masen Furer 7cbd2848ce
[REF-3157] Avoid SQLModel metaclass conflict (#3610)
Ensure that reflex.utils.compat is loaded whenever `reflex` itself is imported
to try and avoid the sqlmodel metaclass conflict error that arises when
sqlmodel is imported first with pydantic v2, but reflex Model inherits from
rx.Base which is based on pydantic v1.

Fix #3515
2024-07-03 15:58:21 +02:00
..
.templates [REF-2588]Clear color mode local storage for dev mode (#3548) 2024-06-28 13:57:34 -07:00
app_mixins split lifespan and middleware logic in separate mixin files (#3557) 2024-06-29 08:50:04 -07:00
compiler [REF-2588]Clear color mode local storage for dev mode (#3548) 2024-06-28 13:57:34 -07:00
components [REF-3220] Fix rx.cancel_upload EventSpec (#3608) 2024-07-03 15:55:41 +02:00
constants Add a link to backend in connection error (#3044) 2024-06-27 12:20:03 -07:00
custom_components Use twine environment variables if set (#3353) 2024-05-21 14:43:49 -07:00
experimental pyi_generator cleanup: ruff, remove fully qualified reflex. names (#3591) 2024-06-29 08:48:01 -07:00
middleware upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
utils pyi_generator cleanup: ruff, remove fully qualified reflex. names (#3591) 2024-06-29 08:48:01 -07:00
__init__.py [REF-3157] Avoid SQLModel metaclass conflict (#3610) 2024-07-03 15:58:21 +02:00
__init__.pyi [REF-3157] Avoid SQLModel metaclass conflict (#3610) 2024-07-03 15:58:21 +02:00
__main__.py add __main__ entry point to allow python -m reflex (#1516) 2023-08-03 14:26:50 -07:00
admin.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
app_module_for_backend.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
app.py split lifespan and middleware logic in separate mixin files (#3557) 2024-06-29 08:50:04 -07:00
base.py Abstract color_mode related Var creation (#3533) 2024-06-20 16:46:48 -07:00
config.py [REF-3056] Config knob for redis StateManager expiration times (#3523) 2024-06-24 16:03:30 -07:00
event.py Always treat the call_script callback as a string of JS code (#3521) 2024-06-20 18:05:25 -07:00
model.py bare sqlalchemy session + tests (#3522) 2024-06-25 15:29:01 +02:00
page.py separate DECORATED_PAGES per reflex app (#3102) 2024-04-22 11:32:31 -07:00
reflex.py [REF-2956] Fail When Backend port or frontend port is explicitly provided and the port is in use (#3432) 2024-06-05 11:46:00 -07:00
route.py [REF-2643] Throw Errors for duplicate Routes (#3155) 2024-05-03 12:15:40 -07:00
state.py do not get_config in global scope (#3597) 2024-07-01 10:17:40 -07:00
style.py add responsive props to radix components (#3583) 2024-06-28 17:01:23 -07:00
testing.py Make .web configurable with REFLEX_WEB_WORKDIR (#3462) 2024-06-17 16:17:00 -04:00
vars.py add computed backend vars (#3573) 2024-06-28 17:01:07 -07:00
vars.pyi pyi_generator cleanup: ruff, remove fully qualified reflex. names (#3591) 2024-06-29 08:48:01 -07:00