Skip to content

Commit 9cac761

Browse files
committed
Updated typings
1 parent d78c5d3 commit 9cac761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis/cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def touch(self, cache_key: CacheKey) -> None:
7070

7171
class CacheInterface(ABC):
7272
@abstractmethod
73-
def get_collection(self) -> OrderedDict[CacheKey, CacheEntry]:
73+
def get_collection(self) -> OrderedDict:
7474
pass
7575

7676
@abstractmethod
@@ -138,7 +138,7 @@ def __init__(
138138
self._eviction_policy = self._cache_config.get_eviction_policy().value()
139139
self._eviction_policy.cache = self
140140

141-
def get_collection(self) -> OrderedDict[CacheKey, CacheEntry]:
141+
def get_collection(self) -> OrderedDict:
142142
return self._cache
143143

144144
def get_eviction_policy(self) -> EvictionPolicyInterface:

0 commit comments

Comments
 (0)