Import TTLCache from cachetools
Importing from cachetools.ttl is deprecated, and will be removed in 5.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from datetime import datetime, timezone
|
||||
|
||||
from cachetools.ttl import TTLCache
|
||||
from cachetools import TTLCache
|
||||
|
||||
|
||||
class PeriodicCache(TTLCache):
|
||||
|
Reference in New Issue
Block a user