pickle - Omitting big objects when pickling in python -
this question has answer here:
in object have reference other, big object. possible pickle first object omitting big one?
is possible json or other marshaling?
see pickle protocol
you can implement __getstate__ , __setstate__.
with __getstate__ can delete whatever don't want object dictionary.
Comments
Post a Comment