Remove unused factory.requests_cache()
-from deprecated import deprecated
-
from plextraktsync.decorators.memoize import memoize
from plextraktsync.rich_addons import RichHighlighter
@@ -49,18 +47,6 @@ def session(self):
return session
- @memoize
- @deprecated("Use session instead")
- def requests_cache(self):
- import requests_cache
-
- config = self.config()
- trakt_cache = config["cache"]["path"]
-
- requests_cache.install_cache(trakt_cache)
-
- return requests_cache
-
@memoize
def sync(self):
from plextraktsync.sync import Sync
