code: def url(self):
          
          if self._partition_key:
              base_url = self.design_doc.document_partition_url(
                  self._partition_key)
          else:
              base_url = self.design_doc.document_url
  
          return '/'.join((
              base_url,
              '_view',
              self.view_name
          ))
docs: Constructs and returns the View URL.
  
          :returns: View URL