Skip to content

Commit

Permalink
Remove unused HashableList
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekuruu committed Nov 11, 2023
1 parent 5a14e6c commit 7476d03
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions helpers/caching.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@

from datetime import timedelta, datetime
from functools import lru_cache, wraps
from typing import Callable, List

class HashableList(List):
def __eq__(self, __value: object) -> bool:
return super().__eq__(__value)
from typing import Callable

def ttl_cache(maxsize: int = 128, typed: bool = False, ttl: int = -1):
ttl = 0x10000 if ttl <= 0 else ttl
Expand Down

0 comments on commit 7476d03

Please sign in to comment.