code: def encoded(self):
          
          if not self._encoded:
              self._encoded = self._encode()
  
          if self._base_str:
              return '&'.join((self._base_str, self._encoded))
  
          else:
              return self._encoded
docs: Returns an encoded form of the query