reflex/reflex/experimental
Khaleel Al-Adhami ede5cd1f2c
[REF-3321] implement var operation decorator (#3698)
* implement var operation decorator

* use older syntax

* use cast and older syntax

* use something even simpler

* add some tests

* use old union tactics

* that's not how you do things

* implement arithmetic operations while we're at it

* add test

* even more operations

* can't use __bool__

* thanos snap

* forgot ruff

* use default factory

* dang it darglint

* i know i should have done that but

* convert values into literalvars

* make test pass

* use older union tactics

* add test to string var

* pright why do you hate me 🥺
2024-07-25 09:34:14 -07:00
..
vars [REF-3321] implement var operation decorator (#3698) 2024-07-25 09:34:14 -07:00
__init__.py add immutable var class (#3607) 2024-07-03 11:23:04 -07:00
assets.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
client_state.py Improve ClientState compatibility with rx.input (#3490) 2024-06-19 07:01:46 -07:00
hooks.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
layout.py Pass _var_is_string parameter to Var.create (#3470) 2024-06-10 14:32:32 -07:00
layout.pyi pyi_generator cleanup: ruff, remove fully qualified reflex. names (#3591) 2024-06-29 08:48:01 -07:00
misc.py allow return from run_in_thread (#3477) 2024-06-13 09:59:05 -07:00