def queue(self):
        """The queue property. Return rq.Queue instance."""
        if not self.include_rq:
            return None
        ctx = stack.top
        if ctx is not None:
            if not hasattr(ctx, 'redislite_queue'):
                ctx.redislite_queue = {}

                for queue_name in self.queues:
                    ctx.redislite_queue[queue_name] = \
                        Queue(queue_name, connection=self.connection)

            return ctx.redislite_queue
def queue ( self ) : if not self . include_rq : return None ctx = stack . top if ctx is not None : if not hasattr ( ctx , 'redislite_queue' ) : ctx . redislite_queue = { } for queue_name in self . queues : ctx . redislite_queue [ queue_name ] = Queue ( queue_name , connection = self . connection ) return ctx . redislite_queue
The queue property. Return rq.Queue instance.