Skip to main content
def JobClient.find(job_or_id: Job | str) -> Job
Get a job by its id. Can also be an existing job object, in which case this method acts as a refresh operation to fetch the latest job details.

Parameters

job_or_id
Job | str
The job or job id to get.

Returns

A job object.
job = job_client.find("0195c87a-49f6-5ffa-e3cb-92215d057ea6")