get_batch_fetch_verbosity¶
- pyrcs.utils.get_batch_fetch_verbosity(data_dir, verbose)[source]¶
Creates a new parameter that indicates whether to print relevant information to the console.
This function is used only when fetching all data of a cluster.
- Parameters:
data_dir (str | None) – 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 fetching all data of a cluster.
- Return type:
bool | int
Examples:
>>> from pyrcs.utils import get_batch_fetch_verbosity >>> get_batch_fetch_verbosity(data_dir="data", verbose=True) False