def save_tags(self, caseversion):
        tags = self.cleaned_data.get("tags", set())

        current_tags = set([t.id for t in caseversion.tags.all()])
        caseversion.tags.add(*tags.difference(current_tags))
        caseversion.tags.remove(*current_tags.difference(tags))
Update set of tags assigned to ``caseversion``.
dataset/ETHPy150Open mozilla/moztrap/moztrap/view/manage/cases/forms.py/BaseCaseForm.save_tags