Generate callback from another callback?

I am generating a callbacks from execution of another callback.
I’ve set app.config.supress_callback_exceptions=True
However nothing happens, as if the second callback is not triggered.

Is it even suppose to work in the current release? Is there an example?

1 Like

This isn’t possible right now. All of the callbacks need to be defined upfront.

I’d like for this functionality to be supported in the future as part of the push to better support these types of dynamic UIs.


I’m having the same issue. Is this possible now? If so, can someone explain how I have to procede?

This is indeed possible now. Not by generating callbacks within callbacks, but by creating callbacks that respond to or update an arbitrary number of components. This is done via the new Pattern-Matching Callback feature Pattern-Matching Callbacks | Dash for Python Documentation | Plotly introduced in 📣 Dash v1.11.0 Release - Introducing Pattern-Matching Callbacks - #3

1 Like