Skip to content

Commit 01d82f5

Browse files
committed
Added more arguments to lambda's
1 parent 8766123 commit 01d82f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

redis/commands/bf/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class CMSInfo:
6262
depth = None
6363
count = None
6464

65-
def __init__(self, args):
65+
def __init__(self, args, **kwargs):
6666
response = dict(zip(map(nativestr, args[::2]), args[1::2]))
6767
self.width = response["width"]
6868
self.depth = response["depth"]

redis/commands/json/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(
7979
self.__encoder__ = encoder
8080
self.__decoder__ = decoder
8181

82-
def _decode(self, obj):
82+
def _decode(self, obj, **kwargs):
8383
"""Get the decoder."""
8484
if obj is None:
8585
return obj

redis/commands/timeseries/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TSInfo:
2323
chunk_size = None
2424
duplicate_policy = None
2525

26-
def __init__(self, args):
26+
def __init__(self, args, **options):
2727
"""
2828
Hold information and statistics on the time-series.
2929

0 commit comments

Comments
 (0)