[PR #1189] [MERGED] Avoid garbage collection for requests.Session #1204

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/1189
Author: @dieser-niko
Created: 3/5/2025
Status: Merged
Merged: 3/7/2025
Merged by: @dieser-niko

Base: masterHead: bugfix/621-session-type-error


📝 Commits (4)

📊 Changes

4 files changed (+11 additions, -8 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 spotipy/client.py (+3 -6)
📝 spotipy/oauth2.py (+3 -2)
📝 spotipy/util.py (+4 -0)

📄 Description

Closes #621

@zlonghofer if you want, you can also review this little PR
@stephanebruckert can you help me figure out how I can fix the linting issue?


🔄 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/1189 **Author:** [@dieser-niko](https://github.com/dieser-niko) **Created:** 3/5/2025 **Status:** ✅ Merged **Merged:** 3/7/2025 **Merged by:** [@dieser-niko](https://github.com/dieser-niko) **Base:** `master` ← **Head:** `bugfix/621-session-type-error` --- ### 📝 Commits (4) - [`6bf645c`](https://github.com/spotipy-dev/spotipy/commit/6bf645cba37a9cc1098f07b4115372e34214f891) workaround for garbage collection - [`c28725a`](https://github.com/spotipy-dev/spotipy/commit/c28725aea841cdd8c7170b97902cf61004672be2) add missing import - [`b562950`](https://github.com/spotipy-dev/spotipy/commit/b56295084f04bb6bb79c5d9da0bcf32dfc40c1d9) linting issues (wrong import order) - [`93cf4fe`](https://github.com/spotipy-dev/spotipy/commit/93cf4fedf923719d2f0c93c1a7f00569120ea7e1) fix imports ### 📊 Changes **4 files changed** (+11 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `spotipy/client.py` (+3 -6) 📝 `spotipy/oauth2.py` (+3 -2) 📝 `spotipy/util.py` (+4 -0) </details> ### 📄 Description Closes #621 @zlonghofer if you want, you can also review this little PR @stephanebruckert can you help me figure out how I can fix the linting issue? --- <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:05 +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#1204
No description provided.