[PR #233] [MERGED] Add requests_timeout parameter to Oauth2 module #827

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/233
Author: @alexey-v-paramonov
Created: 11/14/2017
Status: Merged
Merged: 2/13/2020
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (4)

  • e4eea89 Merge branch 'master' of github.com:plamere/spotipy
  • 0af8c35 Add requests_timeout parameter to Oauth2 module
  • 96e0306 Merge branch 'master' into master
  • 0502176 Lint

📊 Changes

3 files changed (+12 additions, -3 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 spotipy/oauth2.py (+10 -2)
📝 tests/integration/test_user_endpoints.py (+1 -1)

📄 Description

Some time ago I added 'requests_timeout' option to Spotify (#125), now I have noticed that parameter is required in Oauth2 also, so when Spotify API is down SpotifyClientCredentials hangs forever trying to get a new token.


🔄 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/233 **Author:** [@alexey-v-paramonov](https://github.com/alexey-v-paramonov) **Created:** 11/14/2017 **Status:** ✅ Merged **Merged:** 2/13/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`e4eea89`](https://github.com/spotipy-dev/spotipy/commit/e4eea895c2e7d94d854becf2596b347bf12e6c97) Merge branch 'master' of github.com:plamere/spotipy - [`0af8c35`](https://github.com/spotipy-dev/spotipy/commit/0af8c35f8d7c1780eb507018e9786a9ac91137cc) Add requests_timeout parameter to Oauth2 module - [`96e0306`](https://github.com/spotipy-dev/spotipy/commit/96e03067e011805b1e648f6c5b4437fd27531da7) Merge branch 'master' into master - [`0502176`](https://github.com/spotipy-dev/spotipy/commit/050217642794741183dbc47c2446f7c36947e686) Lint ### 📊 Changes **3 files changed** (+12 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `spotipy/oauth2.py` (+10 -2) 📝 `tests/integration/test_user_endpoints.py` (+1 -1) </details> ### 📄 Description Some time ago I added 'requests_timeout' option to Spotify (#125), now I have noticed that parameter is required in Oauth2 also, so when Spotify API is down SpotifyClientCredentials hangs forever trying to get a new token. --- <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:57 +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#827
No description provided.