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

Added pickle support #17

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Added pickle support #17

merged 1 commit into from
Jan 12, 2022

Conversation

adamjermyn
Copy link
Contributor

This PR adds support for pickling/unpickling py_mesa_reader objects by providing the __getstate__ and __setstate__ methods, which Pickle needs whenever __getattr__ is overridden.

@wmwolf wmwolf merged commit 95d9354 into wmwolf:master Jan 12, 2022
@wmwolf
Copy link
Owner

wmwolf commented Jan 12, 2022

Thanks for this!

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.

2 participants