(index)
| 18 | |
| 19 | |
| 20 | def gen_callback(index): |
| 21 | @app.callback( |
| 22 | Output(f"output-{index}", "children"), |
| 23 | Input(f"button-{index}", "n_clicks"), |
| 24 | background=True, |
| 25 | prevent_initial_call=True, |
| 26 | ) |
| 27 | def callback_name(_): |
| 28 | return f"Clicked on {index}" |
| 29 | |
| 30 | |
| 31 | for i in range(1, 3): |
no outgoing calls
no test coverage detected
searching dependent graphs…