collect_in_fetch_verbose

pyrcs.utils.collect_in_fetch_verbose(data_dir, verbose)[source]

Creates a new parameter that indicates whether to print relevant information to the console.

This function is used only if it is necessary to re-collect data when trying to fetch the data.

Parameters:
  • data_dir (str | None) – The name of the folder where the pickle file is to be saved.

  • verbose (bool | int) – Whether to print relevant information to the console.

Returns:

A boolean indicating whether to print relevant information to the console when collecting data.

Return type:

bool | int

Examples:

>>> from pyrcs.utils import collect_in_fetch_verbose
>>> collect_in_fetch_verbose(data_dir="data", verbose=True)
False