dcc.Store and “hidden” html.Div don’t work as I need to calculate 200+ rows based on Input number. Global variable is not recommended. Is any other way to store client’s input (or callback return)? Many thanks
Hi Junior,
Check if this could work for your need:
Hi Eduardo,
Thank you so much for the link shared. For sure it would accelerate calculation process. Plasma can help to share date between two callbacks or within Pandas.
@app.callback(
Output(component_id=‘my-output’, component_property=‘children’),
[Input(component_id=‘my-input’, component_property=‘value’)])
def update_output_div(input_value):
return ‘Output: {}’.format(input_value)
But I still have no idea how to get input_value from callback and use it for computing either in Plasma+Pandas or in Pandas itself. In any try I got resolution ‘input_value does not defined at module level’ or ‘Unresolved reference input_value’.