Commit Graph

11 Commits

Author SHA1 Message Date
Benedikt Bartscher
0240541d0b
migrate pydantic config classes to ConfigDict 2024-03-05 21:36:41 +01:00
Benedikt Bartscher
c057f2e3f3
minor pydantic fixups 2024-03-05 21:35:53 +01:00
Benedikt Bartscher
faebd22185
black fixes 2024-03-05 21:35:53 +01:00
Benedikt Bartscher
a5d197c2fb
serialization fixes 2024-03-05 21:35:53 +01:00
Benedikt Bartscher
25d05856f9
prepare base 2024-03-05 21:35:53 +01:00
Masen Furer
953495775d
[REF-2045] Implement __reduce_ex__ for MutableProxy (#2688)
* test_state: augment modify_state test for writing MutableProxy

If the object contains a MutableProxy inside of it, then we get a pickling
error.

* Implement __reduce_ex__ for MutableProxy

Pass through `__reduce_ex__` onto the wrapped instance to strip it off when
cloudpickling to redis.

* base: get_value actually works with a str key

Unless the key isn't a field on the model, then it falls back to the previous
behavior of just returning the given key as is... why does it do this? I don't
know.
2024-02-22 10:14:14 -08:00
Elijah Ahianyo
e3ee98098a
RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
Thomas Brandého
df09c716c6
fix serialization as a whole for list/dict/Base containing custom items to serialize (#1984) 2023-10-17 10:44:54 -07:00
Masen Furer
024cb5fa9b
Var field cleanup (#1943) 2023-10-13 14:53:55 -07:00
Nikhil Rao
1d9f25be6d
Fix project hash and modernize type annotations (#1704) 2023-08-31 17:04:39 -07:00
Nikhil Rao
139ce38df1
Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00