'Mark as purged and return.
Override this in subclasses to do the additional resource removal.'

def purge(self, item, flush=True, **kwargs):

    self.delete(item, flush=False)
    return self._session_setattr(item, 'purged', True, flush=flush)
