Skip to content

JobClient.find

python
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.

Type to search…