code: def submit_query_request(end_point, *args, **kwargs):
      
      ev_limit = kwargs.pop('ev_limit', 10)
      best_first = kwargs.pop('best_first', True)
      tries = kwargs.pop('tries', 2)
      # This isn't handled by requests because of the multiple identical agent
      # keys, e.g. {'agent': 'MEK', 'agent': 'ERK'} which is not supported in
      # python, but is allowed and necessary in these query strings.
      # TODO because we use the API Gateway, this feature is not longer needed.
      # We should just use the requests parameters dict.
      query_str = '?' + '&'.join(['%s=%s' % (k, v) for k, v in kwargs.items()
                                  if v is not None]
                                 + list(args))
      return submit_statement_request('get', end_point, query_str,
                                      ev_limit=ev_limit, best_first=best_first,
                                      tries=tries)
docs: Low level function to format the query string.