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,
                    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:
            method_choices = copy.copy(self.fields['method'].choices)
            method_choices.extend([
                (METHOD_IVR_SURVEY, "IVR Survey"),
                (METHOD_SMS_CALLBACK, "SMS Expecting Callback"),
            ])
            'METHOD_SMS_CALLBACK': METHOD_SMS_CALLBACK,
            'METHOD_SMS_SURVEY': METHOD_SMS_SURVEY,
            'METHOD_IVR_SURVEY': METHOD_IVR_SURVEY,
            'START_PROPERTY_OFFSET_DELAY': START_PROPERTY_OFFSET_DELAY,
            'START_PROPERTY_OFFSET_IMMEDIATE': START_PROPERTY_OFFSET_IMMEDIATE,

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_CALLBACK : fire_sms_callback_event,
    METHOD_SMS_SURVEY : fire_sms_survey_event,
    METHOD_IVR_SURVEY : fire_ivr_survey_event,
    METHOD_TEST : fire_sms_event,
    METHOD_SMS_CALLBACK_TEST : fire_sms_callback_event,