Skip to content

Commit 31a95fd

Browse files
committed
.
1 parent 48303bf commit 31a95fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apify/_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def __init__(self: LRUCache, max_length: int) -> None:
332332
self._cache = OrderedDict()
333333
self._max_length = max_length
334334

335-
def __getitem__(self: LRUCache, key: str) -> Any:
335+
def __getitem__(self: LRUCache, key: str) -> T:
336336
"""Get an item from the cache. Move it to the end if present."""
337337
val = self._cache[key]
338338
# No 'key in cache' condition since the previous line would raise KeyError

0 commit comments

Comments
 (0)