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