Avoid garbage collection for requests.Session (#1189)

* workaround for garbage collection

* add missing import

* linting issues (wrong import order)

* fix imports
This commit is contained in:
Niko authored and GitHub committed 2025-03-07 20:02:43 +01:00
1 parent 103d6873fa
commit 4f01f7187d
4 files changed
+11 -8

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ Add your changes below.
- Fixed scripts in examples directory that didn't run correctly
- Updated documentation for `Client.current_user_top_artists` to indicate maximum number of artists limit
- Set auth cache file permissions to `600`: https://github.com/spotipy-dev/spotipy/security/advisories/GHSA-pwhh-q4h6-w599
- Fixed `__del__` methods by preventing garbage collection for `requests.Session`
### Changed