def unarchive(self, content: Content): content.owner = self._user content.is_archived = False content.revision_type = ActionDescription.UNARCHIVING
def unarchive(self, content: Content): content.owner = self._user content.is_archived = False content.revision_type = ActionDescription.UNARCHIVING
def archive(self, content: Content): content.owner = self._user content.is_archived = True content.revision_type = ActionDescription.ARCHIVING
def archive(self, content: Content): content.owner = self._user content.is_archived = True content.revision_type = ActionDescription.ARCHIVING