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
nothing calls this directly
Calls
1
append
Method · 0.80
Tested by
no test coverage detected