Hi is there a way to tell a callback’s output to not trigger any other callback like magically so:
@callback(
Output("output_component", "property", dont_fire_callbacks=True),
Input("input_component", "property"),
)
def do_stuff(input_prop):
return input_prop
@callback(
Output("output_component2", "property"),
Input("output_component", "property"),
)
def dont_do_stuff(input_prop):
return input_prop
other than doing something like:
@callback(
Output("output_component", "property"),
Output("prevent_next_callback", "property"),
Input("input_component", "property"),
)
def do_stuff(input_prop):
return input_prop
@callback(
Output("output_component2", "property"),
Input("output_component", "property"),
Input("prevent_next_callback", "property"),
)
def dont_do_stuff(input_prop):
if "prebent_next_callback.property" in ctx.triggered:
raise PreventUpdate
return input_prop