mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[PR #670] [MERGED] Added MemoryCacheHandler #988
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#988
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/670
Author: @Peter-Schorn
Created: 4/14/2021
Status: ✅ Merged
Merged: 4/14/2021
Merged by: @stephanebruckert
Base:
master← Head:master📝 Commits (2)
0b6ede6AddedMemoryCacheHandler, a cache handler that simply stores the token info in memory as an instance attribute of this class.bc7343cFixed a bug inCacheFileHandler.__init__: The documentation says that the username will be retrieved from the environment, but it wasn't.📊 Changes
3 files changed (+34 additions, -16 deletions)
View changed files
📝
CHANGELOG.md(+7 -1)📝
spotipy/cache_handler.py(+25 -1)📝
tests/unit/test_oauth.py(+2 -14)📄 Description
MemoryCacheHandleris useful for scripts that don't need to save the token info to persistent storage. Please merge this into v3 because I'm working on some changes on that branch that rely on this change.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.