You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, it takes keyword arguments: def transaction(self, func, *watches, **kwargs)
fakeredis' transaction() does not expect keyword arguments: def transaction(self, func, *keys)
Naturally this results in a TypeError when trying to use keyword arguments.
The three current kwargs are shard_hint=None, value_from_callable=False, and watch_delay=None. The fakeredis implementation, however, does not support any of these.
The text was updated successfully, but these errors were encountered:
Here is redis-py's
transaction()
As you can see, it takes keyword arguments:
def transaction(self, func, *watches, **kwargs)
fakeredis'
transaction()
does not expect keyword arguments:def transaction(self, func, *keys)
Naturally this results in a
TypeError
when trying to use keyword arguments.The three current kwargs are
shard_hint=None
,value_from_callable=False
, andwatch_delay=None
. The fakeredis implementation, however, does not support any of these.The text was updated successfully, but these errors were encountered: