MCPcopy 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

Calls

no outgoing calls

Tested by

no test coverage detected