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

Function set_cities_value

sagemaker-dash/tutorials/app11.py:37–38  ·  view source on GitHub ↗
(available_options)

Source from the content-addressed store, hash-verified

35@app.callback(Output('cities-radio', 'value'), Input('cities-radio',
36 'options'))
37def set_cities_value(available_options):
38 return available_options[0]['value']
39
40
41@app.callback(Output('display-selected-values', 'children'),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected