You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
What is the recommended way of passing a username to the @cached decorator with Redis backend?
Currently the decorator takes the password, but doesn't allow the username.
Is it intentionally designed that way?
Things I tried:
@cached(cache=Cache.REDIS,username=... # <-- NOT ALLOWEDpassword=...)asyncdeff(n):
and
importredis.asyncioasredis@cached(cache=Cache.REDIS,client=redis.Redis(username=..., password=...) # <-- NOT ALLOWED)asyncdeff(n):
The text was updated successfully, but these errors were encountered:
Hello!
What is the recommended way of passing a
username
to the@cached
decorator with Redis backend?Currently the decorator takes the
password
, but doesn't allow theusername
.Is it intentionally designed that way?
Things I tried:
and
The text was updated successfully, but these errors were encountered: