pyslk.tape_barcode_raw#
- pyslk.tape_barcode_raw(tape_id: int | str, return_type: int = 0) str | int | CompletedProcess #
return tape barcode for provided tape id
- Parameters:
tape_id (int or str) – id 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]