Status Check Job
- class datarobot.models.StatusCheckJob(job_id, resource_type=None)
Tracks asynchronous task status
- Attributes:
- job_idstr
The ID of the status the job belongs to.
- wait_for_completion(max_wait=600)
Waits for job to complete.
- Parameters:
- max_waitint, optional
How long to wait for the job to finish. If the time expires, DataRobot returns the current status.
- Returns:
- statusJobStatusResult
Returns the current status of the job.
- Return type:
- get_status()
Retrieve JobStatusResult object with the latest job status data from the server.
- Return type:
- class datarobot.models.JobStatusResult(status: str | None, status_id: str | None, completed_resource_url: str | None, message: str | None)
This class represents a result of status check for submitted async jobs.
-
status:
Optional
[str
] Alias for field number 0
-
status_id:
Optional
[str
] Alias for field number 1
-
completed_resource_url:
Optional
[str
] Alias for field number 2
-
message:
Optional
[str
] Alias for field number 3
-
status: