Skip to content

Commit e4c0185

Browse files
authored
do not wrap __dict__ in mutable proxy (#5193)
1 parent c66f4cc commit e4c0185

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reflex/state.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3920,6 +3920,7 @@ def __getattr__(self, __name: str) -> Any:
39203920
if self._is_mutable_type(value) and __name not in (
39213921
"__wrapped__",
39223922
"_self_state",
3923+
"__dict__",
39233924
):
39243925
# Recursively wrap mutable attribute values retrieved through this proxy.
39253926
return self._wrap_recursive(value)

0 commit comments

Comments
 (0)