Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ __setitem__
Method
__setitem__
test/test_update_insertion.py:71–73 ·
view source on GitHub ↗
(self, key, value)
Source
from the content-addressed store, hash-verified
69
70
class
RecordingBox(Box):
71
def
__setitem__(self, key, value):
72
calls.append(key)
73
super().__setitem__(key, value)
74
75
bx = RecordingBox(service={
"keep"
: 1}, box_dots=True)
76
calls.clear()
Callers
10
test_self_reference
Method · 0.45
test_index_rebuilds_after_direct_dict_write
Method · 0.45
test_index_rebuilds_after_direct_write_then_exact_write
Method · 0.45
test_index_survives_direct_dict_writes
Method · 0.45
test_every_mutator_is_refused_and_leaves_data_intact
Method · 0.45
test_frozen_config_box_reads_but_never_writes
Method · 0.45
test_audit_sync.py
File · 0.45
test_dots_existing_path_writes
Function · 0.45
test_dots_dict_paths_in_frozen_box
Function · 0.45
test_camel_killer_box_dotted_lookup_exact_key
Method · 0.45
Calls
1
append
Method · 0.80
Tested by
no test coverage detected