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
In some objects, tuples, namedtuples, OrderedDict and other data-container objects are used. Currently, MontyEncoder and MontyDecoder do not support them (it actually converts tuples to lists, OrderedDicts to dicts)
When decoding back these objects, they are not anymore the same type of data object and this could be a problem in some cases.
For OrderedDict, it might not be such of a problem as dicts are now guaranteed to be ordered in python 3.7, if I'm not wrong.
Is there any plan to implement such a feature ? Would it be useful for people ?
Summary
In some objects, tuples, namedtuples, OrderedDict and other data-container objects are used. Currently, MontyEncoder and MontyDecoder do not support them (it actually converts tuples to lists, OrderedDicts to dicts)
Is there any plan to implement such a feature ? Would it be useful for people ?
Example code for namedtuple
Suggested solution (if known)
The text was updated successfully, but these errors were encountered: