It returns view's view path

def view_path(self):
        """
        It returns view's view path
        """
        if self.scheme_name is None or self.scheme_name == "":
            return self.view.view_path
        else:
            return self.scheme_name