We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c11451 commit faba1e4Copy full SHA for faba1e4
reflex/istate/proxy.py
@@ -572,6 +572,8 @@ def __getattr__(self, __name: str) -> Any:
572
)
573
and (func := getattr(value, "__func__", None)) is not None
574
and not inspect.isclass(getattr(value, "__self__", None))
575
+ # skip SQLAlchemy instrumented methods
576
+ and not getattr(value, "_sa_instrumented", False)
577
):
578
# Rebind `self` to the proxy on methods to capture nested mutations.
579
return functools.partial(func, self)
0 commit comments