retries: Retries until max retry count is reached.

View source: R/utils.R

retriesR Documentation

Retries until max retry count is reached.

Description

Retries until max retry count is reached.

Usage

retries(max_retry_count, exception_message_prefix, seconds_to_sleep = 2)

Arguments

max_retry_count

(int): The retry count.

exception_message_prefix

(str): The message to include in the exception on failure.

seconds_to_sleep

(int): The number of seconds to sleep between executions.

See Also

Other sagemaker_utils: .aws_partition(), .download_files_under_prefix(), base_from_name(), base_name_from_image(), build_dict(), common_variables, create_tar_file(), download_file(), download_folder(), get_config_value(), get_short_version(), name_from_base(), name_from_image(), regional_hostname(), repack_model(), sagemaker_short_timestamp(), sagemaker_timestamp(), secondary_training_status_changed(), secondary_training_status_message(), sts_regional_endpoint(), unique_name_from_base()


DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.