MCPcopy Index your code
hub / github.com/reflex-dev/reflex / assert_hashmap_dirty

Function assert_hashmap_dirty

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

Source from the content-addressed store, hash-verified

2852 assert not mutable_state.dirty_vars
2853
2854 def assert_hashmap_dirty():
2855 assert mutable_state.dirty_vars == {"hashmap"}
2856 mutable_state._clean()
2857 assert not mutable_state.dirty_vars
2858
2859 # Test all dict operations
2860 mutable_state.hashmap.update({"new_key": "43"})

Callers 1

test_mutable_dictFunction · 0.85

Calls 1

_cleanMethod · 0.45

Tested by

no test coverage detected