def __init__(self, max_attempts, retry_to_secondary):
self.max_attempts = max_attempts<EOL>self.retry_to_secondary = retry_to_secondary<EOL>
Constructs a base retry object.

: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.