-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Dash children lists to be tuples also. #358
Comments
collections.Sequence
as lists in Dash layoutcollections.Sequence
as lists in Dash layout
If it serialize, then I see no reason not to accept them. |
By 'only accept', do you mean in the |
It looks like the problem is just that the base component traversal uses I think if we just change these lines to |
Yeah, I don't think that we're using any of those extra |
I'll make a PR and see how it works out |
collections.Sequence
as lists in Dash layout
It turns out making Dash children a tuple instead of a list (e.g. |
strings are instances of |
Right now we only accept objects which are instances of
collections.MutableSequence
as lists in Dash.Is there a reason we are this specific? A tuple will be serialized just fine.
The text was updated successfully, but these errors were encountered: