def get(self, request, api_key, *args, **kwargs):
        msg = request.GET.get('msg', None)
        snr = request.GET.get('snr', None)
        # We don't have a place to put this right now, but leaving it here
        # so we remember the parameter name in case we need it later
        to = request.GET.get('to', None)

        if not msg and not snr:
            return HttpResponseBadRequest("ERROR: Missing msg or snr")

        incoming(snr, msg, SQLSMSGHBackend.get_api_id())
        return HttpResponse("")
dataset/ETHPy150Open dimagi/commcare-hq/corehq/messaging/smsbackends/smsgh/views.py/SMSGHIncomingView.get/operator `or` -> `and`