def job_from_id(id):
 try:
  return Job.fetch(id, connection=_connect())
 except NoSuchJobError:
  raise KeyError(u'There is no job with ID "{}".'.format(id))

def job_from_id ( id ) : try : return Job . fetch ( id , connection = _connect ( ) ) except NoSuchJobError : raise KeyError ( u'There is no job with ID "{}".' . format ( id ) )
look up an enqueued job by its id .