You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@matsjoyce: I think actually, the better reference is issue #42. Yeah, I have a small collection of tickets that we should sort out, and this is one of them (#42 and associated tickets). Let's try to sort it.
@edwardreed81: I appreciate the ticket, and it is totally a valid issue… however I am closing this ticket as a duplicate of #42. We likely will, however, use the above code as a test case for #42 as well as some motivation to unstick an old issue. Can you please detail here an example of the custom __call__ method, so we can clearly see what you are looking for?
This comes from a stackoverflow question: http://stackoverflow.com/questions/42752716/how-to-write-all-class-variables-to-disk-with-dill
If one were to change a class attribute during initialization of an instance of that class, dill does not serialize this class attribute.
I tried doing this through something like
as well as using a metaclass with a custom __call__ to set the class attribute. Both do not serialize properly.
The text was updated successfully, but these errors were encountered: