Skip to content

Fix pickling with dill#16

Merged
johnomotani merged 3 commits intomasterfrom
fix-dill-pickling
Jun 14, 2022
Merged

Fix pickling with dill#16
johnomotani merged 3 commits intomasterfrom
fix-dill-pickling

Conversation

@johnomotani
Copy link
Copy Markdown
Owner

Latest versions of dill introduced issue which caused pickling of Options objects to fail. Fixed by defining __getstate__() and __setstate__() methods as suggested here https://stackoverflow.com/a/50888571.

@johnomotani johnomotani added the bug Something isn't working label Jun 14, 2022
@johnomotani johnomotani merged commit 7461bfd into master Jun 14, 2022
@johnomotani johnomotani deleted the fix-dill-pickling branch June 14, 2022 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant