Skip to content
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

Add pickle support #21

Merged
merged 14 commits into from
Nov 27, 2019
Merged

Add pickle support #21

merged 14 commits into from
Nov 27, 2019

Conversation

briangrahamww
Copy link
Collaborator

I had some objects that could only be serialized/deserialized properly using pickle and not dill, so I created a new reader and writer, deserializer.py and serializer.py, respectively.

These new classes copy the dill reader and writer, but have an additional config variable to specify whether to use dill or pickle serialization packages. I left the dill reader and writer for now, but we can deprecate and remove in a future release that has other breaking changes.

@kzecchini
Copy link
Contributor

@briangrahamww quick comment on keeping track of supported serializers - let me know if that makes sense. Otherwise I think it looks good and I'll approve!

@briangrahamww
Copy link
Collaborator Author

@briangrahamww quick comment on keeping track of supported serializers - let me know if that makes sense. Otherwise I think it looks good and I'll approve!

Now they are kept track of and it streamlined the code!

Copy link
Contributor

@kzecchini kzecchini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@briangrahamww briangrahamww merged commit 7d1b4d2 into master Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants