Import TTLCache from cachetools
Importing from cachetools.ttl is deprecated, and will be removed in 5.0
This commit is contained in:
@@ -7,7 +7,7 @@ import datetime
|
||||
import logging
|
||||
from typing import Dict, List
|
||||
|
||||
from cachetools.ttl import TTLCache
|
||||
from cachetools import TTLCache
|
||||
from pycoingecko import CoinGeckoAPI
|
||||
from requests.exceptions import RequestException
|
||||
|
||||
|
Reference in New Issue
Block a user