Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/plotly/dash
/ on_insert
Function
on_insert
tests/integration/test_patch.py:161–165 ·
view source on GitHub ↗
(_, value, index)
Source
from the content-addressed store, hash-verified
159
prevent_initial_call=True,
160
)
161
def
on_insert(_, value, index):
162
p = Patch()
163
p.array.insert(index, value)
164
165
return
p
166
167
@app.callback(
168
Output(
"store"
,
"data"
, allow_duplicate=True),
Callers
nothing calls this directly
Calls
3
Patch
Class · 0.90
set_props
Function · 0.90
insert
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…