welcome to the community @nbolohan and thanks for your question.
@jlfsjunior is correct. The Input should come before the State in the callback decorator. Such as:
@app.callback(
Output('my-output', 'children'),
Input('run simulation button', 'n_clicks'),
State('table checklist','value'),
prevent_initial_call=True
)
def test(n_clicks, tables_to_compute):
Try that and let us know if you get an error.
Also, did you see the Dash 2.6 announcement post. We talk about a new version of long_callback called background callback.
The explanation in the post and in the docs might make what you’re trying to do a little easier.