You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON only supports strings as dict keys, and this casting is done automatically. It would be good to have some way to specify a "key loader" type, perhaps in the type annotation of a SerializableDataclass which allows the user to specify what the keys of a dict should be cast to when loading it from JSON.
The text was updated successfully, but these errors were encountered:
JSON only supports strings as dict keys, and this casting is done automatically. It would be good to have some way to specify a "key loader" type, perhaps in the type annotation of a
SerializableDataclass
which allows the user to specify what the keys of a dict should be cast to when loading it from JSON.The text was updated successfully, but these errors were encountered: