Pickling __setstate__ And __getstate__ Not Invoking On Class January 07, 2024 Post a Comment I have a class that is part of multiple inheritance, and the __getstate__ and the __setstate__ functions never get called on the child class. class BaseGeometery(dict): pass @Solution 1: Your def __getstate__(self):, should return something.Read: handling-stateful-objects Share Post a Comment for "Pickling __setstate__ And __getstate__ Not Invoking On Class"
Post a Comment for "Pickling __setstate__ And __getstate__ Not Invoking On Class"