def get_connection(
    name: str = 'default',
    use_strict_redis: bool = False,
) -> redis.Redis:
    """
    Returns a Redis connection to use based on parameters in settings.RQ_QUEUES
    """
    from .settings import QUEUES

    return get_redis_connection(QUEUES[name], use_strict_redis)

    Returns a Redis connection to use based on parameters in settings.RQ_QUEUES
    
django_rq/queues.py