@cached_property
    def s3_cache_retries(self):
        """
        The number of times to retry failed requests to Amazon S3 (an integer).

        This value is injected into Boto's configuration to override the
        default number of times to retry failed requests to Amazon S3.

        - Environment variable: ``$PIP_ACCEL_S3_RETRIES``
        - Configuration option: ``s3-retries``
        - Default: ``5`` (`Boto's default`_)
        """
        value = self.get(property_name='s3_cache_retries',
                         environment_variable='PIP_ACCEL_S3_RETRIES',
                         configuration_option='s3-retries')
        try:
            n = int(value)
            if n >= 0:
                return n
        except:
            return 5
dataset/ETHPy150Open paylogic/pip-accel/pip_accel/config.py/Config.s3_cache_retries/original