pyslk.total_number_search_results_raw

pyslk.total_number_search_results_raw#

pyslk.total_number_search_results_raw(search_id: str | int, quiet: bool = False, return_type: int = 0) str | int | CompletedProcess#

Print the total number of search results regardless of read permissions of the current user

Parameters:
  • search_id (str or int) – a search_id

  • quiet (bool) – should the command be quiet or print warnings?

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