def __init__(self, **kwargs):
        if kwargs in 'type' and isinstance(kwargs['type'], basestring):
            kwargs['type'] = ReminderType.objects.get(key=kwargs['type'])
        super(Reminder, self).__init__(**kwargs)
dataset/ETHPy150Open shaunduncan/breezeminder/breezeminder/models/reminder.py/Reminder.__init__/swapped operands of `in`