code: def _prepare_uri(self, service_name, **parameters):
          
          query_parameters = []
          for key, value in parameters.items():
              if isinstance(value, (list, tuple)):
                  value = ",".join([str(member) for member in value])
              if isinstance(value, bool):
                  value = "true" if value else "false"
              query_parameters.append("{}={}".format(key, value))
  
          if query_parameters:
              uri = "{}{}?{}".format(self.base_url, service_name,
                                     "&".join(query_parameters))
          else:
              uri = "{}{}".format(self.base_url, service_name)
          return uri
docs: Prepare the URI for a request
  
          :param service_name: The target service
          :type service_name: str
          :param kwargs: query parameters
          :return: The uri of the request