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

Function assert_array_dirty

tests/units/test_state.py:2800–2803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2798 assert not mutable_state.dirty_vars
2799
2800 def assert_array_dirty():
2801 assert mutable_state.dirty_vars == {"array"}
2802 mutable_state._clean()
2803 assert not mutable_state.dirty_vars
2804
2805 # Test all list operations
2806 mutable_state.array.append(42)

Callers 1

test_mutable_listFunction · 0.85

Calls 1

_cleanMethod · 0.45

Tested by

no test coverage detected