def _process(self): editables = [e for e in self.editables if e.editor] for editable in editables: unassign_editor(editable) return EditableBasicSchema(many=True).jsonify(editables)
def _process_DELETE(self): unassign_editor(self.editable) return '', 204