def worker_direct(hostname):
 if isinstance(hostname, Queue):
  return hostname
 return Queue(WORKER_DIRECT_QUEUE_FORMAT.format(hostname=hostname), WORKER_DIRECT_EXCHANGE, hostname)

def worker_direct ( hostname ) : if isinstance ( hostname , Queue ) : return hostname return Queue ( WORKER_DIRECT_QUEUE_FORMAT . format ( hostname = hostname ) , WORKER_DIRECT_EXCHANGE , hostname )
return the :class:kombu .