def get_job(self, id): # make sure job exists j = api.get_job(self.url, id) return Job(self, j['id'], j.get('attributes'), j)
def _get_job(self, id): return api.get_job(self.url, id)