def create_exponential_delay_function(base, growth_factor):
 return functools.partial(delay_exponential, base=base, growth_factor=growth_factor)

def create_exponential_delay_function ( base , growth_factor ) : return functools . partial ( delay_exponential , base = base , growth_factor = growth_factor )
create an exponential delay function based on the attempts .