def get_index(self, index_name) -> MarqoIndex:
        """
        Get a Marqo index by name.

        Args:
            index_name: Name of Marqo index to get

        Returns:
            Marqo index
        """
        index = self.vespa_client.get_index_setting_by_name(index_name)
        if index is None:
            raise IndexNotFoundError(f"Index {index_name} not found")
        return index

        Get a Marqo index by name.

        Args:
            index_name: Name of Marqo index to get

        Returns:
            Marqo index
        
src/marqo/core/index_management/index_management.py