We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e71398 commit 02bdbf4Copy full SHA for 02bdbf4
reflex/state.py
@@ -1350,7 +1350,7 @@ def _check_overwritten_dynamic_args(cls, args: list[str]):
1350
for substate in cls.get_substates():
1351
substate._check_overwritten_dynamic_args(args)
1352
1353
- def __getattribute__(self, name: str) -> Any:
+ def _get_attribute(self, name: str) -> Any:
1354
"""Get the state var.
1355
1356
If the var is inherited, get the var from the parent state.
@@ -1408,6 +1408,9 @@ def __getattribute__(self, name: str) -> Any:
1408
1409
return value
1410
1411
+ if not TYPE_CHECKING:
1412
+ __getattribute__ = _get_attribute
1413
+
1414
def __setattr__(self, name: str, value: Any):
1415
"""Set the attribute.
1416
0 commit comments