U
    N8Úc  ã                   @   s    G d d„ dƒZ G dd„ dƒZdS )c                   @   s   e Zd Zdd„ ZdS )ÚBaseRetryBackoffc                 C   s   t dƒ‚dS )zbCalculate how long we should delay before retrying.

        :type context: RetryContext

        Údelay_amountN©ÚNotImplementedError©ÚselfÚcontext© r   ú9/tmp/pip-unpacked-wheel-ozje0y8b/botocore/retries/base.pyr      s    zBaseRetryBackoff.delay_amountN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r	   r      s   r   c                   @   s   e Zd ZdZdd„ ZdS )ÚBaseRetryableCheckeraW  Base class for determining if a retry should happen.

    This base class checks for specific retryable conditions.
    A single retryable checker doesn't necessarily indicate a retry
    will happen.  It's up to the ``RetryPolicy`` to use its
    ``BaseRetryableCheckers`` to make the final decision on whether a retry
    should happen.
    c                 C   s   t dƒ‚dS )zVReturns True if retryable, False if not.

        :type context: RetryContext
        Úis_retryableNr   r   r   r   r	   r      s    z!BaseRetryableChecker.is_retryableN)r
   r   r   Ú__doc__r   r   r   r   r	   r      s   	r   N)r   r   r   r   r   r	   Ú<module>   s   
