def __setstate__(self, state):
    'Object.__setstate__.'
    super().__setstate__(state)
    self._initialize()
Object.__setstate__.
def __setstate__(self, state):
    
    super().__setstate__(state)
    self._initialize()