Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ _index
Function
_index
core/src/stdlib/pyscript/flatted.py:77–82 ·
view source on GitHub ↗
(known, input, value)
Source
from the content-addressed store, hash-verified
75
76
77
def
_index(known, input, value):
78
input.append(value)
79
index = str(len(input) - 1)
80
known.key.append(value)
81
known.value.append(index)
82
return
index
83
84
85
def
_loop(keys, input, known, output):
Callers
2
_relate
Function · 0.85
stringify
Function · 0.85
Calls
1
append
Method · 0.45
Tested by
no test coverage detected