[PR #223] [MERGED] Remove unnecessary token_info parameter for oauth2.SpotifyClientCredentials methods #824

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/223
Author: @ritiek
Created: 10/17/2017
Status: Merged
Merged: 1/12/2020
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (2)

  • 2fba4df Remove token_info parameter for oauth2.SpotifyClientCredentials.is_token_expired()
  • f5683b7 Remove token_info parameter for _add_custom_values..()

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 spotipy/oauth2.py (+4 -3)

📄 Description

This PR removes the necessity of passing token_info parameter to oauth2.SpotifyClientCredentials.is_token_expired() to know if the token has expired or not.


🔄 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/223 **Author:** [@ritiek](https://github.com/ritiek) **Created:** 10/17/2017 **Status:** ✅ Merged **Merged:** 1/12/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`2fba4df`](https://github.com/spotipy-dev/spotipy/commit/2fba4df605f34dde05b5386a295fd9aa3777d75d) Remove token_info parameter for oauth2.SpotifyClientCredentials.is_token_expired() - [`f5683b7`](https://github.com/spotipy-dev/spotipy/commit/f5683b764fb058f471d81f639cdb80fee30d646d) Remove token_info parameter for _add_custom_values..() ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `spotipy/oauth2.py` (+4 -3) </details> ### 📄 Description This PR removes the necessity of passing `token_info` parameter to `oauth2.SpotifyClientCredentials.is_token_expired()` to know if the token has expired or not. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:01:56 +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#824
No description provided.