Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix connect to async client with resp3 #2657

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix async client with resp3
  • Loading branch information
dvora-h committed Mar 23, 2023
commit 98f0915cbe0e221e71971a79a20d6103c5c9d783
2 changes: 2 additions & 0 deletions redis/asyncio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def __init__(
auto_close_connection_pool: bool = True,
redis_connect_func=None,
credential_provider: Optional[CredentialProvider] = None,
protocol: Optional[int] = 2,
):
"""
Initialize a new Redis client.
Expand Down Expand Up @@ -213,6 +214,7 @@ def __init__(
"health_check_interval": health_check_interval,
"client_name": client_name,
"redis_connect_func": redis_connect_func,
"protocol": protocol,
}
# based on input, setup appropriate connection args
if unix_socket_path is not None:
Expand Down