mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 09:10:45 +00:00
Add RedisCacheHandler (#747)
* add RedisCacheHandler * add the explanation for customized chache handlers * update the dependency and chengelog
This commit is contained in:
1 parent
0a9270f385
commit
7d23fc3277
4 files changed
+45
-2
No files matched your search
@@ -231,6 +231,11 @@ The custom cache handler would need to be a class that inherits from the base
|
||||
cache handler ``CacheHandler``. The default cache handler ``CacheFileHandler`` is a good example.
|
||||
An instance of that new class can then be passed as a parameter when
|
||||
creating ``SpotifyOAuth``, ``SpotifyPKCE`` or ``SpotifyImplicitGrant``.
|
||||
The following handlers are available and defined in the URL above.
|
||||
- ``CacheFileHandler``
|
||||
- ``MemoryCacheHandler``
|
||||
- ``DjangoSessionCacheHandler``
|
||||
- ``RedisCacheHandler``
|
||||
|
||||
Feel free to contribute new cache handlers to the repo.
|
||||
|
||||
|
||||
Reference in new issue
Block a user