소스 검색

do not wrap __dict__ in mutable proxy (#5193)

Khaleel Al-Adhami 1 개월 전
부모
커밋
e4c0185063
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      reflex/state.py

+ 1 - 0
reflex/state.py

@@ -3920,6 +3920,7 @@ class MutableProxy(wrapt.ObjectProxy):
         if self._is_mutable_type(value) and __name not in (
             "__wrapped__",
             "_self_state",
+            "__dict__",
         ):
             # Recursively wrap mutable attribute values retrieved through this proxy.
             return self._wrap_recursive(value)