def get_many(self, queues, timeout=None):
        if not queues:
            raise Empty

        # timeout of None will cause beanstalk to timeout waiting
        # for a new request
        if timeout is None:
            timeout = 1

        to_watch = ifilter(lambda q: q not in self.client.watching(), queues)
        map(self.client.watch, to_watch)

        job = self.client.reserve(timeout=timeout)
        return self._parse_job(job)
dataset/ETHPy150Open ask/ghettoq/ghettoq/backends/beanstalk.py/BeanstalkBackend.get_many/original