def __init__(self, backoff=15, max_attempts=3, retry_to_secondary=False):
        '''
        Constructs a Linear retry object.

        :param int backoff: 
            The backoff interval, in seconds, between retries.
        :param int max_attempts: 
            The maximum number of retry attempts.
        :param bool retry_to_secondary:
            Whether the request should be retried to secondary, if able. This should 
            only be enabled of RA-GRS accounts are used and potentially stale data 
            can be handled.
        '''
        self.backoff = backoff
        self.max_attempts = max_attempts
        super(LinearRetry, self).__init__(max_attempts, retry_to_secondary)
def __init__ ( self , backoff = 15 , max_attempts = 3 , retry_to_secondary = False ) : self . backoff = backoff self . max_attempts = max_attempts super ( LinearRetry , self ) . __init__ ( max_attempts , retry_to_secondary )
Constructs a Linear retry object.

        :param int backoff: 
            The backoff interval, in seconds, between retries.
        :param int max_attempts: 
            The maximum number of retry attempts.
        :param bool retry_to_secondary:
            Whether the request should be retried to secondary, if able. This should 
            only be enabled of RA-GRS accounts are used and potentially stale data 
            can be handled.