MCPcopy
hub / github.com/reflex-dev/reflex / modify_state

Method modify_state

reflex/app.py:1369–1374  ·  view source on GitHub ↗
(
        self,
        token: str,
        background: bool = False,
        previous_dirty_vars: dict[str, set[str]] | None = None,
    )

Source from the content-addressed store, hash-verified

1367 @overload
1368 @deprecated("pass token as rx.BaseStateToken instead of str")
1369 def modify_state(
1370 self,
1371 token: str,
1372 background: bool = False,
1373 previous_dirty_vars: dict[str, set[str]] | None = None,
1374 ) -> contextlib.AbstractAsyncContextManager[BaseState]: ...
1375
1376 @overload
1377 def modify_state(

Calls 10

set_contextsMethod · 0.95
StateUpdateClass · 0.90
from_legacy_tokenMethod · 0.80
forkMethod · 0.80
_get_resolved_deltaMethod · 0.80
emit_updateMethod · 0.80
getMethod · 0.45
setMethod · 0.45
_cleanMethod · 0.45