Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _bpop(self, args, op):
keys = args[:-1]
timeout = Timeout.decode(args[-1])
return self._blocking(timeout, functools.partial(self._bpop_pass, keys, op))