(self)
return state
We don't need to deepcopy the instance, so nullify if provided.
We don't need to deepcopy the instance, so nullify if provided.
We don t need to deepcopy the instance so nullify if provided .
def __getstate__(self):
        """
        We don't need to deepcopy the instance, so nullify if provided.
        """
        state = super().__getstate__()
        if 'instance' in state:
            state['instance'] = None
        return state
def __getstate__ ( self ) : state = super ( ) . __getstate__ ( ) if 'instance' in state : state [ 'instance' ] = None return state