@classmethod
def from_queue_key(cls, queue_key, connection=None, job_class=None):
    """Returns a Queue instance, based on the naming conventions for naming
        the internal Redis keys.  Can be used to reverse-lookup Queues by their
        Redis keys.
        """
    prefix = cls.redis_queue_namespace_prefix
    if not queue_key.startswith(prefix):
        raise ValueError('Not a valid RQ queue key: {0}'.format(queue_key))
    name = queue_key[len(prefix):]
    return cls(name, connection=connection, job_class=job_class)
