Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/c/o/commcare-hq-HEAD/corehq/apps/reminders/forms.py   commcare-hq(Download)
from corehq.apps.groups.models import Group
from corehq.apps.hqwebapp.crispy import BootstrapMultiField, FieldsetAccordionGroup, HiddenFieldWithErrors, FieldWithHelpBubble
from .models import (
    REPEAT_SCHEDULE_INDEFINITELY,
    CaseReminderEvent,
CONTENT_CHOICES = (
    (METHOD_SMS, _("SMS Message")),
    (METHOD_SMS_SURVEY, _("SMS Form Interaction")),
)
 
KEYWORD_CONTENT_CHOICES = (
    (METHOD_SMS, _("SMS Message")),
    (METHOD_SMS_SURVEY, _("SMS Interactive Survey")),
                    message[language] = text
 
            if len(e["timeouts"].strip()) == 0 or method not in [METHOD_SMS_CALLBACK, METHOD_SMS_SURVEY, METHOD_IVR_SURVEY]:
                timeouts_int = []
            else:
 
            form_unique_id = None
            if method in [METHOD_SMS_SURVEY, METHOD_IVR_SURVEY]:
                form_unique_id = e.get("survey", None)
                if form_unique_id is None:

src/c/o/commcare-hq-HEAD/corehq/apps/reminders/event_handlers.py   commcare-hq(Download)
from .models import (Message, METHOD_SMS, METHOD_SMS_CALLBACK, 
    METHOD_SMS_SURVEY, METHOD_IVR_SURVEY, METHOD_EMAIL, 
    METHOD_TEST, METHOD_SMS_CALLBACK_TEST, RECIPIENT_USER, 
    RECIPIENT_CASE, RECIPIENT_SURVEY_SAMPLE, CaseReminder)
from corehq.apps.smsforms.app import submit_unfinished_form
    METHOD_SMS : fire_sms_event,
    METHOD_SMS_CALLBACK : fire_sms_callback_event,
    METHOD_SMS_SURVEY : fire_sms_survey_event,
    METHOD_IVR_SURVEY : fire_ivr_survey_event,
    METHOD_TEST : fire_sms_event,