

def replace_dont_know_for_skip(apps, schema_editor):
    EvidenceLabel = apps.get_model('corpus', 'EvidenceLabel')
    for ev in EvidenceLabel.objects.all():
        if (ev.label == DONTKNOW):
            ev.label = SKIP
            ev.save()

dataset/ETHPy150Open machinalis/iepy/iepy/webui/corpus/migrations/0002_data_migration_dont_know_skip_merge.py replace_dont_know_for_skip/original