Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ __getitem__
Method
__getitem__
Hash.py:79–80 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
77
return
data
78
79
def
__getitem__(self, key):
80
return
self.get(key)
81
82
def
__setitem__(self, key, data):
83
self.put(key, data)
Callers
nothing calls this directly
Calls
1
get
Method · 0.95
Tested by
no test coverage detected