Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/caldera
/ retrieve
Method
retrieve
app/utility/base_object.py:47–48 ·
view source on GitHub ↗
(collection, unique)
Source
from the content-addressed store, hash-verified
45
46
@staticmethod
47
def
retrieve(collection, unique):
48
return
next((i
for
i in collection
if
i.unique == unique), None)
49
50
@staticmethod
51
def
hash(s):
Callers
12
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
store
Method · 0.80
Calls
1
next
Function · 0.50
Tested by
1
store
Method · 0.64