code: def get_queue_by_index(index):
      
      from .settings import QUEUES_LIST
      config = QUEUES_LIST[int(index)]
      return get_queue_class(config)(
          config['name'],
          connection=get_redis_connection(config['connection_config']),
          is_async=config.get('ASYNC', True))
docs: Returns an rq Queue using parameters defined in ``QUEUES_LIST``