allow setting password for redis cluster

This commit is contained in:
Ishaan Jaff 2024-09-07 09:25:13 -07:00
parent eaab0e761d
commit 9a9c0e42eb

View file

@ -67,6 +67,7 @@ def _get_redis_cluster_kwargs(client=None):
exclude_args = {"self", "connection_pool", "retry", "host", "port", "startup_nodes"}
available_args = [x for x in arg_spec.args if x not in exclude_args]
available_args.append("password")
return available_args