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
BUT in my case I had another error : TypeError: 'Pipeline' object does not support the context manager protocol.
@isra17 it was fixed editing backends/redis.py. Should I open a PR ?
defnotify(self, events: Iterable[Event], ttl: int) ->None:
pipe=self.client.pipeline()
# with self.client.pipeline() as pipe: # <----- error was from this lineforkey, valinevents:
pipe.rpush(self._encode_key(key), self._encode_value(val))
pipe.pexpire(self._encode_key(key), ttl)
pipe.execute()
Hello and sorry for the amateur question..
I use the documentation and write my code like this:
in views.py:
But I get this error get this error:
TypeError: RedisBackend.__init__() missing 1 required keyword-only argument: 'client'
My settings.py are the same as for django_dramatiq:
Please help me). What am I doing wrong?)
The text was updated successfully, but these errors were encountered: