RAPTOR v18.4: Исправлена отчетность, активированы выходные
This commit is contained in:
10
invest-python-master/t_tech/invest/caching/overrides.py
Normal file
10
invest-python-master/t_tech/invest/caching/overrides.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import time
|
||||
|
||||
from cachetools import TTLCache as TTLCacheBase
|
||||
|
||||
|
||||
class TTLCache(TTLCacheBase):
|
||||
def __init__(self, maxsize, ttl, timer=None, getsizeof=None):
|
||||
if timer is None:
|
||||
timer = time.monotonic
|
||||
super().__init__(maxsize=maxsize, ttl=ttl, timer=timer, getsizeof=getsizeof)
|
||||
Reference in New Issue
Block a user