Import TTLCache from cachetools

Importing from cachetools.ttl is deprecated, and will be removed in 5.0
This commit is contained in:
Matthias
2021-12-27 19:30:17 +01:00
parent df53873dab
commit 5a546855e6
5 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
from datetime import datetime, timezone
from cachetools.ttl import TTLCache
from cachetools import TTLCache
class PeriodicCache(TTLCache):