It is required for an output to have a callback in Dash, but what if you want to trigger events in the backend without having anything output on the frontend?
Create an empty dummy html.div
and set the Output
to this div
@callback(
Output('dummy_div', 'children', allow_duplicate = True),
...
)...