(self)
return pickle_dict
Pickle the session.
Pickle the session.
Pickle the session .
def __getstate__(self):
        """Pickle the session."""
        pickle_dict = self.__dict__.copy()
        pickle_dict['interface'] = None
        return pickle_dict
def __getstate__ ( self ) : pickle_dict = self . __dict__ . copy ( ) pickle_dict [ 'interface' ] = None return pickle_dict