Fix zincrby argument order (#5608)

This commit is contained in:
Sebastian Rittau
2021-06-09 20:16:34 +02:00
committed by GitHub
parent d7d3926b2c
commit 6a6d5d8fd2
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
version = "0.1"
version = "3.5"
python2 = true
requires = []

View File

@@ -630,7 +630,7 @@ class Redis(Generic[_StrType]):
) -> int: ...
def zcard(self, name: _Key) -> int: ...
def zcount(self, name: _Key, min: _Value, max: _Value) -> int: ...
def zincrby(self, name: _Key, value: _Value, amount: float = ...) -> float: ...
def zincrby(self, name: _Key, amount: float, value: _Value) -> float: ...
def zinterstore(self, dest: _Key, keys: Iterable[_Key], aggregate: Literal["SUM", "MIN", "MAX"] = ...) -> int: ...
def zlexcount(self, name: _Key, min: _Value, max: _Value) -> int: ...
def zpopmax(self, name: _Key, count: Optional[int] = ...) -> List[_StrType]: ...
@@ -1047,7 +1047,7 @@ class Pipeline(Redis[_StrType], Generic[_StrType]):
) -> Pipeline[_StrType]: ...
def zcard(self, name: _Key) -> Pipeline[_StrType]: ... # type: ignore [override]
def zcount(self, name: _Key, min: _Value, max: _Value) -> Pipeline[_StrType]: ... # type: ignore [override]
def zincrby(self, name: _Key, value: _Value, amount: float = ...) -> Pipeline[_StrType]: ... # type: ignore [override]
def zincrby(self, name: _Key, amount: float, value: _Value) -> Pipeline[_StrType]: ... # type: ignore [override]
def zinterstore(self, dest: _Key, keys: Iterable[_Key], aggregate: Literal["SUM", "MIN", "MAX"] = ...) -> Pipeline[_StrType]: ... # type: ignore [override]
def zlexcount(self, name: _Key, min: _Value, max: _Value) -> Pipeline[_StrType]: ... # type: ignore [override]
def zpopmax(self, name: _Key, count: Optional[int] = ...) -> Pipeline[_StrType]: ... # type: ignore [override]