Skip to content
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

palette silently uses dict values if key does not match #138

Open
ricklupton opened this issue Sep 9, 2024 · 0 comments
Open

palette silently uses dict values if key does not match #138

ricklupton opened this issue Sep 9, 2024 · 0 comments

Comments

@ricklupton
Copy link
Owner

palette = {
   "a": "red",
   "b": "blue",
}

If there is a key "c", it will treat palette like a list of values and use "red", but it should give an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant