Added MemcacheCacheHandler (#1042)

* Added MemcacheCacheHandler

* Import MemcacheError where used

* Update index.rst

---------

Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
This commit is contained in:
andrewcaraandStéphane Bruckert authored and GitHub committed 2024-05-30 19:01:16 +01:00
1 parent 913ae57275
commit 62a27a20e0
4 files changed
+44 -4

No files matched your search

+3
View File
@@ -185,14 +185,17 @@ cache handler ``CacheHandler``. The default cache handler ``CacheFileHandler`` i
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``
- ``FlaskSessionCacheHandler``
- ``RedisCacheHandler``
- ``MemcacheCacheHandler``: install with dependency using ``pip install "spotipy[pymemcache]"``
Feel free to contribute new cache handlers to the repo.
Examples
=======================