Hi all,
In the testing documentation there is an example for mocking a simple button with a simple string ID.
The example there is:
context_value.set(AttributeDict(**{“triggered_inputs”: [{“prop_id”: “btn-1-ctx-example.n_clicks”}]}))
I’m strugging with doing the same for an input that was triggered on n_clicks but is a simple pattern matching one:
Input({‘type’: ‘something1’, ‘something2’: ALL}, ‘n_clicks’),
Did anyone succeed with it? I did look at some past questions but didn’t find a clear answer.
Thank you.