def api_vendor_sms_receive(request, vendor_secret=None):
  if vendor_secret != settings.SMS_VENDOR_SECRET:
    raise exception.ApiException(0x00, "Invalid secret")

  sms_message = sms_protocol.SmsMessage.from_request(request)
  sms_service = sms.SmsService(sms_protocol.SmsConnection())
  sms_service.init_handlers()
  rv = sms_service.handle_message(sms_message.sender, 
                                  sms_message.target, 
                                  sms_message.message)
  return http.HttpResponse(rv)
See showPopup
dataset/ETHPy150Open CollabQ/CollabQ/api/views.py/api_vendor_sms_receive--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/modules/constant_configuration.py/StandardConstantEnumWidget.eventFilter