Replies: 2 comments
-
This should be done using pydantic. I think it should be possible to enforce errors for incorrect types in meta, although I can see this becoming a bit of a mess. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Type hints introduced in #53 should help a bit. Hints suggest values must be Line 27 in 7116ee0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you insert non JSON data into a meta dict, everything freaks out because whenever meta tries to write to disk, it can't.
We should verify something is serialisable prior to insertion.
Beta Was this translation helpful? Give feedback.
All reactions