[PR #1178] [MERGED] Formatted strings #1197

Closed
opened 2026-02-28 00:04:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/1178
Author: @dieser-niko
Created: 12/3/2024
Status: Merged
Merged: 1/14/2025
Merged by: @dieser-niko

Base: masterHead: 1159-formatted-strings


📝 Commits (6)

📊 Changes

16 files changed (+71 additions, -107 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 docs/index.rst (+1 -1)
📝 examples/artist_albums.py (+3 -6)
📝 examples/artist_discography.py (+7 -10)
📝 examples/artist_recommendations.py (+2 -6)
📝 examples/follow_playlist.py (+3 -1)
📝 examples/my_playlists.py (+1 -1)
📝 examples/show_my_saved_tracks.py (+1 -1)
📝 examples/track_recommendations.py (+2 -5)
📝 examples/user_playlists_contents.py (+1 -3)
📝 examples/user_public_playlists.py (+1 -7)
📝 spotipy/cache_handler.py (+9 -10)
📝 spotipy/client.py (+8 -12)
📝 spotipy/exceptions.py (+3 -2)
📝 spotipy/oauth2.py (+26 -40)
📝 tests/integration/user_endpoints/test.py (+2 -2)

📄 Description

closes #1159

There are some capitalisations in there as well.
Also, I had to change the playlist in examples/follow_playlist.py to a user playlist due to the recent API changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/1178 **Author:** [@dieser-niko](https://github.com/dieser-niko) **Created:** 12/3/2024 **Status:** ✅ Merged **Merged:** 1/14/2025 **Merged by:** [@dieser-niko](https://github.com/dieser-niko) **Base:** `master` ← **Head:** `1159-formatted-strings` --- ### 📝 Commits (6) - [`4de3001`](https://github.com/spotipy-dev/spotipy/commit/4de300112d26aede7cfada9a5841231e1220843f) use newer string formatters (https://pyformat.info) - [`51c22c1`](https://github.com/spotipy-dev/spotipy/commit/51c22c129dc0673cf51f0f5da7818dadd94054a9) fix typo - [`61bd0f9`](https://github.com/spotipy-dev/spotipy/commit/61bd0f9d70ebbc913897769bb3e298aaa43da4b7) went through the files again, additions from #1165 are also included - [`0fba1a1`](https://github.com/spotipy-dev/spotipy/commit/0fba1a12215d59734ab8405567fe5e54f564b0f3) Merge branch 'master' into 1159-formatted-strings - [`4b486f8`](https://github.com/spotipy-dev/spotipy/commit/4b486f8f60fecd5a54bc7502f293c7f636bc2418) replace .format() with f strings - [`a794a2d`](https://github.com/spotipy-dev/spotipy/commit/a794a2d315617f8f4dd8607ad801af73b28854c6) Merge branch 'master' into 1159-formatted-strings ### 📊 Changes **16 files changed** (+71 additions, -107 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `docs/index.rst` (+1 -1) 📝 `examples/artist_albums.py` (+3 -6) 📝 `examples/artist_discography.py` (+7 -10) 📝 `examples/artist_recommendations.py` (+2 -6) 📝 `examples/follow_playlist.py` (+3 -1) 📝 `examples/my_playlists.py` (+1 -1) 📝 `examples/show_my_saved_tracks.py` (+1 -1) 📝 `examples/track_recommendations.py` (+2 -5) 📝 `examples/user_playlists_contents.py` (+1 -3) 📝 `examples/user_public_playlists.py` (+1 -7) 📝 `spotipy/cache_handler.py` (+9 -10) 📝 `spotipy/client.py` (+8 -12) 📝 `spotipy/exceptions.py` (+3 -2) 📝 `spotipy/oauth2.py` (+26 -40) 📝 `tests/integration/user_endpoints/test.py` (+2 -2) </details> ### 📄 Description closes #1159 There are some capitalisations in there as well. Also, I had to change the playlist in `examples/follow_playlist.py` to a user playlist due to the recent API changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:04:03 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#1197
No description provided.