Close session when spotipy is unloaded, fixes #90

This commit is contained in:
Stephane Bruckert committed 2020-04-01 21:57:56 +01:00
1 parent 73aac90bbe
commit 6d7fe6c195
2 files changed
+13 -4

No files matched your search

+8 -4
View File
@@ -8,17 +8,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added CONTRIBUTING.md
- Added CONTRIBUTING.md
### Changed
- Client retry logic has changed as it now uses urllib3's `Retry` in conjunction with requests `Session`
- The session is customizable as it allows for:
- Client retry logic has changed as it now uses urllib3's `Retry` in conjunction with requests `Session`
- The session is customizable as it allows for:
- status_forcelist
- retries
- status_retries
- backoff_factor
- Spin up a local webserver to auto-fill authentication URL
- Spin up a local webserver to auto-fill authentication URL
### Fixed
- Close session when Spotipy object is unloaded
## [2.10.0] - 2020-03-18