Fix type of http_cache.policy
MODIFY
plextraktsync/config/HttpCacheConfig.py
plextraktsync/config/HttpCacheConfig.py
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from typing import Dict
-
from requests_cache import ExpirationPatterns
@@ -15,7 +13,7 @@ class HttpCacheConfig:
Main config dataclass
"""
- policy: Dict[str]
+ policy: ExpirationPatterns
default_policy = {
# Requests matching these patterns will not be cached

Fix type of http_cache.policy