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

Project keys must be strings #362

Closed
augustebaum opened this issue Sep 19, 2024 · 0 comments · Fixed by #363 or #368
Closed

Project keys must be strings #362

augustebaum opened this issue Sep 19, 2024 · 0 comments · Fixed by #363 or #368

Comments

@augustebaum
Copy link
Contributor

Currently project.put(1, "hello") works, as well as project.put(set(), "hello"). However, then the serialization of the project for displaying in the frontend fails, because set is unhashable.

We should raise an error when the key is not a string.

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