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

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -