code: def query_params(self, value=None):
          
          if value is not None:
              return URL._mutate(self, query=unicode_urlencode(value, doseq=True))
          query = '' if self._tuple.query is None else self._tuple.query
  
          # In Python 2.6, urlparse needs a bytestring so we encode and then
          # decode the result.
          if not six.PY3:
              result = parse_qs(to_utf8(query), True)
              return dict_to_unicode(result)
  
          return parse_qs(query, True)
docs: Return or set a dictionary of query params
  
          :param dict value: new dictionary of values