'Retry calling the Cloud decorated function using an exponential backoff.
Compatibility for the original implementation of CloudRetry.backoff that
did not provide configurable backoff strategies. Developers should use
CloudRetry.exponential_backoff instead.
Kwargs:
tries (int): Number of times to try (not retry) before giving up
default=10
delay (int or float): Initial delay between retries in seconds
default=3
backoff (int or float): backoff multiplier e.g. value of 2 will
double the delay each retry
default=1.1'

@classmethod
def backoff(cls, tries=10, delay=3, backoff=1.1):

    return cls.exponential_backoff(retries=(tries - 1), delay=delay, backoff=backoff, max_delay=None)
