-
Notifications
You must be signed in to change notification settings - Fork 48
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
WIP Added support for tuples, namedtuples (both from collections and typing), sets, frozensets and OrderedDict's in MSONable, MontyEncoder and MontyDecoder #100
base: master
Are you sure you want to change the base?
Commits on Jan 14, 2020
-
Added is_namedtuple method to test whether an object is a namedtuple …
…in collections.py. Unit test for above method.
Configuration menu - View commit details
-
Copy full SHA for 0755e76 - Browse repository at this point
Copy the full SHA 0755e76View commit details -
Configuration menu - View commit details
-
Copy full SHA for f259b94 - Browse repository at this point
Copy the full SHA f259b94View commit details -
Added (partial) support for tuple and namedtuples in json.py.
Unit tests for tuple and namedtuple serialization.
Configuration menu - View commit details
-
Copy full SHA for 92246a7 - Browse repository at this point
Copy the full SHA 92246a7View commit details -
Added support for tuple, namedtuples and OrderedDict in json.py.
Unit tests for tuple, namedtuple and OrderedDict serialization. Works with MSONable class as well as with MontyEncoder and MontyDecoder.
Configuration menu - View commit details
-
Copy full SHA for 680461d - Browse repository at this point
Copy the full SHA 680461dView commit details -
Fixed namedtuple support for python versions < 3.7, for which default
values were not possible.
Configuration menu - View commit details
-
Copy full SHA for 9a57714 - Browse repository at this point
Copy the full SHA 9a57714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f4463 - Browse repository at this point
Copy the full SHA 41f4463View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5527b9 - Browse repository at this point
Copy the full SHA d5527b9View commit details
Commits on Jan 15, 2020
-
Added is_NamedTuple to check whether object is a class generated from…
… typing.NamedTuple. Unit tests for is_NamedTuple.
Configuration menu - View commit details
-
Copy full SHA for 3f3c029 - Browse repository at this point
Copy the full SHA 3f3c029View commit details
Commits on Jan 16, 2020
-
Added validate_NamedTuple to check whether the items in a NamedTuple …
…have the correct type. Unit tests for validate_NamedTuple.
Configuration menu - View commit details
-
Copy full SHA for 6866658 - Browse repository at this point
Copy the full SHA 6866658View commit details -
Changed validate_NamedTuple to accept subclass of the types as valid …
…field types for the different fields.
Configuration menu - View commit details
-
Copy full SHA for b67e6e6 - Browse repository at this point
Copy the full SHA b67e6e6View commit details -
Changed validate_NamedTuple to accept subclass of the types as valid …
…field types for the different fields.
Configuration menu - View commit details
-
Copy full SHA for e233d4c - Browse repository at this point
Copy the full SHA e233d4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 465467d - Browse repository at this point
Copy the full SHA 465467dView commit details -
Changed "builtins" to "@builtins" in the serialization of tuples, nam…
…edtuples, etc ... in order to avoid potential clashes with the builtins package.
Configuration menu - View commit details
-
Copy full SHA for 3ed73cc - Browse repository at this point
Copy the full SHA 3ed73ccView commit details
Commits on Jan 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7e823a9 - Browse repository at this point
Copy the full SHA 7e823a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d982c3b - Browse repository at this point
Copy the full SHA d982c3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04e0513 - Browse repository at this point
Copy the full SHA 04e0513View commit details