@classmethod
    def remove_custom_export(cls, domain, export_id):
        group = cls.get_for_domain(domain)
        updated = False
        while group.custom_export_ids in export_id:
            group.custom_export_ids.remove(export_id)
            updated = True
        if updated:
            group.save()
        return group
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/models.py/HQGroupExportConfiguration.remove_custom_export/swapped operands of `in`