Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Workarounds for callback context not being supported by long_callback?

$
0
0

I have a fairly complex callback that updates a live plot depending on several inputs. I need to use the recently released @long_callback method to process callbacks in sequence (rather than interrupting the callback and losing data if inputs are triggered in rapid succession).

However, since dash.callback_context is not supported by @long_callback I was wondering what the best alternate method is? Is it still the timestamp method? Is there someway of using pattern matching callbacks to efficiently decide how to process a wide variety of inputs and outputs in a single callback? I had trouble doing it with pattern matching since my inputs and outputs contain several different DCC components with different data types, and the examples just use multiple instances of the same type of component.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles