@classmethod
    def create(cls,
               name='default', default_timeout=None,
               connection='default', scheduled=False, async=True, idempotent=False):
        queue = cls(name=cls.validated_name(name))
        queue.default_timeout = default_timeout or PQ_DEFAULT_JOB_TIMEOUT
        queue.connection = connection
        queue.scheduled = scheduled
        queue.idempotent = idempotent
        queue._async = async
        return queue
Returns a Queue ready for accepting jobs
dataset/ETHPy150Open bretth/django-pq/pq/queue.py/Queue.create