def __call__(self, generator_class):
        if not RegisterGenerator.generators in self.repeater_cls:
            RegisterGenerator.generators[self.repeater_cls] = GeneratorCollection(self.repeater_cls)
        RegisterGenerator.generators[self.repeater_cls].add_new_format(
            self.format_name,
            self.format_label,
            generator_class,
            is_default=self.is_default
        )
        return generator_class
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/repeaters/models.py/RegisterGenerator.__call__/swapped operands of `in`