Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/diffgram/diffgram
/ find
Function
find
default/play_and_scripts/coco_transform.py:9–13 ·
view source on GitHub ↗
(lst, key, value)
Source
from the content-addressed store, hash-verified
7
8
9
def
find(lst, key, value):
10
for
i, dic in enumerate(lst):
11
if
dic[key] == value:
12
return
dic
13
return
-1
14
15
i = 0
16
for
ann in x[
'annotations'
]:
Callers
1
coco_transform.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected