def _query(self, district, action): sms = SmsRequest(id=SmsRequest.id()) sms.body = "" sms.user = self.user cmd = QueryCommand(sms) cmd.filter = action cmd.district = district return cmd
def _query(self, district, action): sms = SmsRequest(id=SmsRequest.id()) sms.body = '' sms.user = self.user cmd = QueryCommand(sms) cmd.filter = action cmd.district = district return cmd