pyslk.resource_tape_raw

pyslk.resource_tape_raw#

pyslk.resource_tape_raw(resource: str, json: bool = False, return_type: int = 0) str | int | CompletedProcess#

prints resource tape information

Parameters:
  • resource (str) – resource (full path)

  • json (bool) – print json

  • 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]