@property
    @memoized
    def reminder_handler(self):
        try:
            handler = CaseReminderHandler.get(self.handler_id)
            assert handler.domain == self.domain
            assert handler.doc_type == "CaseReminderHandler"
            return handler
        except (ResourceNotFound, __HOLE__):
            raise Http404()
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reminders/views.py/EditScheduledReminderView.reminder_handler