pyslk.print_rcrs_raw

Contents

pyslk.print_rcrs_raw#

pyslk.print_rcrs_raw(resource_path: str | Path | None = None, resource_id: str | int | None = None, json: bool = False, return_type: int = 0) str | int | CompletedProcess#

prints resource content record (rcr) information

Parameters:
  • resource_path (str or Path or None) – resource (full path)

  • resource_id (str or int or None) – a resource id

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