Deprecate global patching of requests_cache
MODIFY
plex_trakt_sync/factory.py
plex_trakt_sync/factory.py
from plex_trakt_sync.decorators.memoize import memoize
+from plex_trakt_sync.decorators.deprecated import deprecated
class Factory:
@@ -46,6 +47,7 @@ def session(self):
return session
@memoize
+ @deprecated("Use session instead")
def requests_cache(self):
import requests_cache

Deprecate global patching of requests_cache