mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #761] [MERGED] Allow to set custom key in RedisCacheHandler #1012
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#1012
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/761
Author: @ENT8R
Created: 12/22/2021
Status: ✅ Merged
Merged: 12/22/2021
Merged by: @stephanebruckert
Base:
master← Head:patch-1📝 Commits (3)
c750b45Allow to set custom key in RedisCacheHandler3be831eUpdate CHANGELOG.mdfc45d09Check for the existence of the key📊 Changes
2 files changed (+8 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
spotipy/cache_handler.py(+7 -3)📄 Description
I would like to use a different key than the one that is always set, so I thought it might be a good idea to allow users of the
RedisCacheHandlerto supply their own key and only set it to the default value oftoken_infoif the key is not supplied as an argument.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
docs/index.rst#1121