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

smarites is not pickleable #5

Open
elena-sharova opened this issue Nov 12, 2018 · 1 comment
Open

smarites is not pickleable #5

elena-sharova opened this issue Nov 12, 2018 · 1 comment

Comments

@elena-sharova
Copy link

Hello and thank you for a nice utility!

I noticed that smarties, as an object, cannot be pickled.
Is this something that can be added?

Thank you,
Elena

@elena-sharova
Copy link
Author

Hello again,

Actually there seems to be a way around it.

Pickling smarties.main_lookup and then, when pickled object is loaded, initializing a new instance of Smarties with the loaded from pickle main_lookup seems to work.

Don't know if this was the intended class design behavior though.

Thank you,
Elena

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

No branches or pull requests

1 participant