Skip to content

Commit

Permalink
Use an async decorator for ttl cache in iam provider
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Dec 6, 2024
1 parent 596b7cc commit 33bf8f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion coredis/recipes/credentials/iam_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
# as coredis[recipes]
import aiobotocore.session
from aiobotocore.signers import AioRequestSigner
from asyncache import cached
from botocore.model import ServiceId
from cachetools import TTLCache, cached
from cachetools import TTLCache

from coredis.credentials import AbstractCredentialProvider, UserPass

Expand Down
4 changes: 2 additions & 2 deletions requirements/recipes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
aiobotocore
cachetools
aiobotocore>=2.15.2
asyncache>=0.3.1

0 comments on commit 33bf8f0

Please sign in to comment.