@property
    def reminders(self):
        all_handlers = CaseReminderHandler.get_handlers(self.domain,
            reminder_type_filter=REMINDER_TYPE_DEFAULT)
        if not self.can_use_survey:
            all_handlers = filter(
                lambda x: x.method not in [METHOD_IVR_SURVEY, METHOD_SMS_SURVEY],
                all_handlers
            )
        for handler in all_handlers:
            yield self._fmt_reminder_data(handler)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reminders/views.py/RemindersListView.reminders/original