def view(self, view_name: str) -> "View":
        """
        Return a view object.

        :param view_name: Name of the view
        """
        if view_name not in self.view_names():
            raise NoView("View {} does not exist".format(view_name))
        return View(self, view_name)

        Return a view object.

        :param view_name: Name of the view
        
sqlite_utils/db.py