mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #665] [MERGED] V3 #984
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#984
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/665
Author: @Peter-Schorn
Created: 4/6/2021
Status: ✅ Merged
Merged: 4/10/2021
Merged by: @stephanebruckert
Base:
v3← Head:v3📝 Commits (10+)
6faf49cAdded an exception clause that catchesFileNotFoundErrorand logs a debug message inSpotifyOAuth.get_cached_token,SpotifyPKCE.get_cached_tokenandSpotifyImplicitGrant.get_cached_token.8ae2cddChanged docs forauthparameter ofSpotify.inittoaccess tokeninstead ofauthorization token. In issue #599, a user confused the access token with the authorization code.957a26aUpdated CHANGELOG.md04b2b02RemovedFileNotFoundErrorbecause it does not exist in python 2.7 (sigh) and replaced it with a call toos.path.exists.77a16dcReplacedos.path.existswitherror.errno == errno.ENOENTto supress errors when the cache file does not exist.caaabd5Merge branch 'master' into master1e6107eChanged docs forsearchto mention that you can provide multiple multiple types to search for. The query parameters of requests are now logged. Added log messages for when the access token and refresh tokens are retrieved and when they are refreshed. Other small grammar fixes.5493ec6Removed duplicate word "multiple" from CHANGELOG808946eMerge branch 'master' into masterbc29688Merge branch 'master' into master📊 Changes
11 files changed (+543 additions, -214 deletions)
View changed files
📝
.github/workflows/pythonapp.yml(+1 -1)📝
CHANGELOG.md(+31 -6)📝
spotipy/__init__.py(+1 -0)📝
spotipy/cache_handler.py(+9 -8)📝
spotipy/client.py(+178 -118)📝
spotipy/oauth2.py(+123 -64)➕
spotipy/scope.py(+85 -0)📝
spotipy/util.py(+0 -17)📝
tests/integration/test_non_user_endpoints.py(+6 -0)📝
tests/integration/test_user_endpoints.py(+19 -0)➕
tests/unit/test_scopes.py(+90 -0)📄 Description
Added the
Scopesenum. MadeCacheHandleran abstract base class. Now if clients subclass this class and don't implement the required methods, they will get an error immediately upon initialization, instead of when the methods are first called. Added new endpoints.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.