pyslk.tape_id_raw#
- pyslk.tape_id_raw(tape_barcode: str, return_type: int = 0) str | int | CompletedProcess #
return tape id for provided tape barcode
- Parameters:
tape_barcode (str) – barcode of a tape in the tape library
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]