Open wjmelements opened 4 years ago
Until we get a way to serialise frozendict, is there a simple way to turn the frozendict into a normal dict? This would be a workaround for the problem at hand, allowing to at least store it as a normal dict.
An unfreeze function can be found in this open PR: https://github.com/slezica/python-frozendict/pull/20/files
It seems the easiest way to accomplish this functionality without a custom serializer would be to subclass
dict
and calldict.__init__
in the frozendict__init__
.