def get_default_retry_steps(delay=timedelta(seconds=0.1), max_time=timedelta(minutes=2)):
 repetitions = (max_time.total_seconds() / delay.total_seconds())
 return repeat(delay, int(repetitions))

def get_default_retry_steps ( delay = timedelta ( seconds = 0.1 ) , max_time = timedelta ( minutes = 2 ) ) : repetitions = ( max_time . total_seconds ( ) / delay . total_seconds ( ) ) return repeat ( delay , int ( repetitions ) )
retry every 0 .