Skip to content

Commit

Permalink
Added more arguments to lambda's
Browse files Browse the repository at this point in the history
  • Loading branch information
vladvildanov committed Aug 9, 2024
1 parent 8766123 commit 01d82f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion redis/commands/bf/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class CMSInfo:
depth = None
count = None

def __init__(self, args):
def __init__(self, args, **kwargs):
response = dict(zip(map(nativestr, args[::2]), args[1::2]))
self.width = response["width"]
self.depth = response["depth"]
Expand Down
2 changes: 1 addition & 1 deletion redis/commands/json/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(
self.__encoder__ = encoder
self.__decoder__ = decoder

def _decode(self, obj):
def _decode(self, obj, **kwargs):
"""Get the decoder."""
if obj is None:
return obj
Expand Down
2 changes: 1 addition & 1 deletion redis/commands/timeseries/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TSInfo:
chunk_size = None
duplicate_policy = None

def __init__(self, args):
def __init__(self, args, **options):
"""
Hold information and statistics on the time-series.
Expand Down

0 comments on commit 01d82f5

Please sign in to comment.