Skip to content

Commit 8e066a2

Browse files
async_cluster: remove kw-only requirement from client
1 parent b3d9cdd commit 8e066a2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

redis/asyncio/cluster.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,6 @@ def __init__(
208208
self,
209209
host: Optional[str] = None,
210210
port: Union[str, int] = 6379,
211-
*,
212-
db: Union[str, int] = 0,
213-
path: Optional[str] = None,
214211
# Cluster related kwargs
215212
startup_nodes: Optional[List["ClusterNode"]] = None,
216213
require_full_coverage: bool = True,
@@ -220,6 +217,8 @@ def __init__(
220217
connection_error_retry_attempts: int = 5,
221218
max_connections: int = 2**31,
222219
# Client related kwargs
220+
db: Union[str, int] = 0,
221+
path: Optional[str] = None,
223222
username: Optional[str] = None,
224223
password: Optional[str] = None,
225224
client_name: Optional[str] = None,

0 commit comments

Comments
 (0)