Yeah, Dash has to identify some sort of key for the callbacks.
I think this may or may not continue, I dont know with the expansion of duplicate outputs if it makes sense to have this glitch.
Yeah, Dash has to identify some sort of key for the callbacks.
I think this may or may not continue, I dont know with the expansion of duplicate outputs if it makes sense to have this glitch.
What exactly do you mean by this? If I have several callbacks, all with the same Input/Output, I can set allow_duplicates=True
for the Outputs but it will still throw an error for duplicate Outputs. How can I then modify the Inputs (which are supposly the cause) with some id to make them unique?
ah well, I got it. I just added something like:
Input("random unique component", "id")
to the callback.
It’s a bit tricky, because the error message indicates that die Outputs are duplicated, when really the Inputs are the problem…
Correct,
It has to do with the creation of the serialization for a key identifier of the function. Only inputs are considered during the serialization process.