Skip to content

Commit

Permalink
async_cluster: remove kw-only requirement from client
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshgupta137 committed Jul 24, 2022
1 parent b3d9cdd commit 8e066a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions redis/asyncio/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,6 @@ def __init__(
self,
host: Optional[str] = None,
port: Union[str, int] = 6379,
*,
db: Union[str, int] = 0,
path: Optional[str] = None,
# Cluster related kwargs
startup_nodes: Optional[List["ClusterNode"]] = None,
require_full_coverage: bool = True,
Expand All @@ -220,6 +217,8 @@ def __init__(
connection_error_retry_attempts: int = 5,
max_connections: int = 2**31,
# Client related kwargs
db: Union[str, int] = 0,
path: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None,
client_name: Optional[str] = None,
Expand Down

0 comments on commit 8e066a2

Please sign in to comment.