MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / compute_value

Function compute_value

sagemaker-dash/tutorials/app17.py:87–90  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

85
86@app.callback(Output('signal', 'data'), Input('dropdown', 'value'))
87def compute_value(value):
88 # compute value and send a signal when done
89 global_store(value)
90 return value
91
92
93@app.callback(Output('graph-1', 'figure'), Input('signal', 'data'))

Callers

nothing calls this directly

Calls 1

global_storeFunction · 0.85

Tested by

no test coverage detected