(self, view_id=None, view_name=None)
return self.get_saved_search(search_id=view_id, search_name=view_name)
Returns a saved search object that is stored in the sketch.

        Args:
            view_id: an integer indicating the ID of the saved search to
                be fetched. Defaults to None.
            view_name: a string with the name of the saved search. Optional
                and defaults to None.

        Returns:
            A search object (instance of search.Search) if one is found.
            Returns a None if neither view_id or view_name is defined or if
            the search does not exist.
Returns a saved search object that is stored in the sketch.
Returns a saved search object that is stored in the sketch .
def get_view(self, view_id=None, view_name=None):
        """Returns a saved search object that is stored in the sketch.

        Args:
            view_id: an integer indicating the ID of the saved search to
                be fetched. Defaults to None.
            view_name: a string with the name of the saved search. Optional
                and defaults to None.

        Returns:
            A search object (instance of search.Search) if one is found.
            Returns a None if neither view_id or view_name is defined or if
            the search does not exist.
        """
        logger.warning(
            'This function is about to be deprecated, use '
            'get_saved_search() instead.')

        return self.get_saved_search(search_id=view_id, search_name=view_name)
def get_view ( self , view_id = None , view_name = None ) : logger . warning ( 'This function is about to be deprecated, use ' 'get_saved_search() instead.' ) return self . get_saved_search ( search_id = view_id , search_name = view_name )