reflex/reflex
Elijah Ahianyo c387f517b6
[ENG-4100]Throw warnings when Redis lock is held for more than the allowed threshold (#4522)
* Throw warnings when Redis lock is held for more than the allowed threshold

* initial tests

* fix tests and address comments

* fix tests fr, and use pydantic validators

* darglint fix

* increase lock expiration in tests to 2500

* remove print statement

---------

Co-authored-by: Khaleel Al-Adhami <khaleel.aladhami@gmail.com>
2024-12-12 11:36:31 -08:00
..
.templates Fix upload cancellation (#4527) 2024-12-12 10:15:19 -08:00
app_mixins use better typing for on_load (#4274) 2024-10-30 16:52:16 -07:00
compiler More env var cleanup (#4248) 2024-11-05 12:25:13 -08:00
components Fix upload cancellation (#4527) 2024-12-12 10:15:19 -08:00
constants [ENG-4100]Throw warnings when Redis lock is held for more than the allowed threshold (#4522) 2024-12-12 11:36:31 -08:00
custom_components remove v2 commands (#4478) 2024-12-04 23:21:18 -08:00
experimental add ERA rules to detect commented out code (#4472) 2024-12-11 18:26:44 -08:00
istate add metainfo to keyevent (#4287) 2024-11-06 15:10:02 -08:00
middleware remove format_state and override behavior for bare (#3979) 2024-09-26 16:00:28 -07:00
utils [ENG-4100]Throw warnings when Redis lock is held for more than the allowed threshold (#4522) 2024-12-12 11:36:31 -08:00
vars style: prefer type() over __class__ (#4512) 2024-12-10 12:35:46 -08:00
__init__.py Reuse the sqlalchemy engine once it's created (#4493) 2024-12-10 12:37:09 -08:00
__init__.pyi Reuse the sqlalchemy engine once it's created (#4493) 2024-12-10 12:37:09 -08: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 Bring back py3.9 support with a deprecation warning. (#3976) 2024-09-23 18:15:16 -07:00
app.py Avoid double JSON encode/decode for socket.io (#4449) 2024-12-12 05:47:23 -08:00
assets.py fix: migrate is_backend_only (deprecated) to EnvironmentVariables (#4495) 2024-12-11 19:22:44 +01:00
base.py [ENG-4098] Deconfuse key/value of State.get_value / dict / get_delta (#4371) 2024-11-12 13:24:06 -08:00
config.py [ENG-4100]Throw warnings when Redis lock is held for more than the allowed threshold (#4522) 2024-12-12 11:36:31 -08:00
event.py add ERA rules to detect commented out code (#4472) 2024-12-11 18:26:44 -08:00
model.py Reuse the sqlalchemy engine once it's created (#4493) 2024-12-10 12:37:09 -08:00
page.py improve typing for non decorated events (#4308) 2024-11-06 09:21:19 -08:00
reflex.py Fix deploy help text (#4508) 2024-12-10 09:15:53 -08:00
route.py [REF-2643] Throw Errors for duplicate Routes (#3155) 2024-05-03 12:15:40 -07:00
state.py [ENG-4100]Throw warnings when Redis lock is held for more than the allowed threshold (#4522) 2024-12-12 11:36:31 -08:00
style.py add ERA rules to detect commented out code (#4472) 2024-12-11 18:26:44 -08:00
testing.py add ERA rules to detect commented out code (#4472) 2024-12-11 18:26:44 -08:00