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
I am getting an error trying to serialize objects of a certain custom class that where previously serialized and de-serialized by cloudpickle (in practice, they are created by dask workers). Here is an example, with some comments below.
I am getting an error trying to serialize objects of a certain custom class that where previously serialized and de-serialized by cloudpickle (in practice, they are created by
dask
workers). Here is an example, with some comments below.This produces an error:
_pickle.PicklingError: Can't pickle <class '__main__.B'>: it's not the same object as __main__.B
Full stack trace: gist.
The error does not happen in either of the following cases:
B
doesn't usesuper()
, i.e. if it's defined like this:Versions:
python - 3.5.2
cloudpickle - 0.4.0
dill - 0.2.7.1
The text was updated successfully, but these errors were encountered: