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

Function update_output

sagemaker-dash/tutorials/app13.py:23–28  ·  view source on GitHub ↗
(n_clicks, input1, input2)

Source from the content-addressed store, hash-verified

21 Input('submit-button-state', 'n_clicks'),
22 State('input-1-state', 'value'), State('input-2-state', 'value'))
23def update_output(n_clicks, input1, input2):
24 return u'''
25 The Button has been pressed {} times,
26 Input 1 is "{}",
27 and Input 2 is "{}"
28 '''.format(n_clicks, input1, input2)
29
30
31if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected