mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 09:10:45 +00:00
Print warnings when a rate/request limit is reached (#1134)
* create custom urllib3.Retry class for printing warnings on rate/request limits * move import urllib3 from client.py to util.py * Using Retry.increment instead of Retry.is_retry. Shows the Retry-After value in the warning as well * Making sure that max column <= 99 * add types.TracebackType * Change warning in request/rate limit warning * adding all parameters, just to make sure * fixing length of line * making sure that response is not None
This commit is contained in:
3 files changed
+34
-2
No files matched your search
@@ -15,6 +15,7 @@ Add your changes below.
|
||||
- Updated TUTORIAL.md instructions to match current layout of Spotify Developer Dashboard
|
||||
- Added test_artist_id, test_artist_url, and test_artists_mixed_ids to non_user_endpoints test.py
|
||||
- Added rate/request limit to FAQ
|
||||
- Added custom `urllib3.Retry` class for printing a warning when a rate/request limit is reached.
|
||||
|
||||
### Fixed
|
||||
- Audiobook integration tests
|
||||
|
||||
Reference in new issue
Block a user