async def get_all_tracks(self) -> List[PlaylistTrack]:
if isinstance(self._tracks, PartialTracks):<EOL><INDENT>return await self._tracks.build()<EOL><DEDENT>_tracks = []<EOL>offset = <NUM_LIT:0><EOL>while len(self.tracks) < self.total_tracks:<EOL><INDENT>data = await self.__client.http.get_playlist_tracks(self.owner.id, self.id, limit=<NUM_LIT:50>, offset=offset)<EOL>_tracks += [PlaylistTrack(self.__client, item) for item in data['<STR_LIT>']]<EOL>offset += <NUM_LIT:50><EOL><DEDENT>self.total_tracks = len(self._tracks)<EOL>return list(self._tracks)<EOL>
Get all playlist tracks from the playlist.

        Returns
        -------
        tracks : List[PlaylistTrack]
            The playlists tracks.