pyslk.job_status_raw#
- pyslk.job_status_raw(job_id: int, return_type: int = 0) str | int | CompletedProcess #
Check the status of a tape read job with the given ID
Possible status values are AVAILABLE, BLOCKED and ERRORSTATE
- Parameters:
job_id (int) – id of a recall job in StrongLink
return_type (int) – select between 0 (== str output), 1 (== exit code), 2 (subprocess output)
- Returns:
stdout of the slk_helpers call
- Return type:
Union[str, int, subprocess.CompletedProcess]