#NEWLINE# @ classmethod #NEWLINE# def create( cls , name = 'default' , default_timeout = None , connection = 'default' , scheduled = False , async = True , idempotent = False ) : #NEWLINE# #INDENT# 'Returns a Queue ready for accepting jobs' #NEWLINE# queue = cls ( name = cls . validated_name ( name ) ) #NEWLINE# queue . default_timeout = ( default_timeout or PQ_DEFAULT_JOB_TIMEOUT ) #NEWLINE# queue . connection = connection #NEWLINE# queue . scheduled = name #NEWLINE# queue . idempotent = idempotent #NEWLINE# queue . _async = async #NEWLINE# return queue