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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

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