You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your context
I use background callback with Celery + Redis. In the example there is a running option to put in the components. The thing is I am using pattern matching. If I remove the running option, there is no problem.
the running option using background callback does not work. Moreover, Why do I see it is a long callback instead of background callback?
Error:
File "/usr/local/lib/python3.10/site-packages/dash/_callback.py", line 167, in callback
validate_long_inputs(x[0] for x in long_spec["running"])
File "/usr/local/lib/python3.10/site-packages/dash/_callback.py", line 209, in validate_long_inputs
raise WildcardInLongCallback(
dash.exceptions.WildcardInLongCallback: long callbacks does not support dependencies with
pattern-matching ids
Received: <Output `{"index":["MATCH"],"type":"main_apm_generate_boxplot_button"}.disabled`>
The text was updated successfully, but these errors were encountered:
i'm having the same issue with DiskcacheManager in dash 2.9.2. I'm a bit confused by this error as the docs (https://dash.plotly.com/background-callbacks) say pattern matching is supported for background callbacks, but in the validate_long_inputs method in _callback.py there is no mechanism that allows pattern matching - it will always raise WildcardInLongCallback
Describe your context
I use background callback with Celery + Redis. In the example there is a running option to put in the components. The thing is I am using pattern matching. If I remove the running option, there is no problem.
This is my app.py:
This is my callback:
Describe the bug
the running option using background callback does not work. Moreover, Why do I see it is a long callback instead of background callback?
Error:
The text was updated successfully, but these errors were encountered: