def load_artist_songs(
        self, artist_name: str, max_songs: Optional[int] = None
    ) -> List[Document]:
        """Load all or a specified number of songs by an artist."""
        artist = self.genius.search_artist(artist_name, max_songs=max_songs)
        return [Document(text=song.lyrics) for song in artist.songs] if artist else []
Load all or a specified number of songs by an artist.
llama-index-integrations/readers/llama-index-readers-genius/llama_index/readers/genius/base.py