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
Can't pickle ValidatedList #411
Comments
So I figured it out. For whatever reason,
You should be able to drop this into anything that subclass I was able to pickle an entire
The only thing empty is |
Very cool. Thanks for the solution! I've put this into the 0.5.1 milestone, and will tie it in as soon as I start development towards that! |
I don't think we actually want |
Trying to unpickle anything with a
ValidatedList
fails:Out:
My own debugging shows that these lists are likely being pickled as upcasted
list
s. Might need to implement a__getstate__
and__setstate__
to make sure the appropriate members are persisted.The text was updated successfully, but these errors were encountered: