Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ __getitem__
Method
__getitem__
test/test_box.py:253–254 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
251
return
self.data.keys()
252
253
def
__getitem__(self, key):
254
return
self.data[key]
255
256
bx = Box(KeysOnly())
257
assert bx == KeysOnly.data
Callers
1
test_box_config_key_is_stored_as_data
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected