pyslk.list_clone_search_raw

pyslk.list_clone_search_raw#

pyslk.list_clone_search_raw(search_id: int | str, only_files: bool = False, only_namespaces: bool = False, start: int | None = None, count: int | None = None, return_type: int = 0) str | int | CompletedProcess#

List results from search id and important time stamps

Parameters:
  • search_id (int or str) – search id of search which results should be printed

  • only_files (bool) – print only files (like default for slk list)

  • only_namespaces (bool) – print only namespaces

  • start (int) – collect search results starting with the result ‘start’; if set to 1 then collect from the beginning

  • count (int) – Collect as many search results as defined by this parameter. If set to 0 then collect until end.

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