
    Pj                     ,     G d  d      Z  G d d      Zy)c                       e Zd Zd Zy)BaseRetryBackoffc                     t        d      )zbCalculate how long we should delay before retrying.

        :type context: RetryContext

        delay_amountNotImplementedErrorselfcontexts     M/root/$HERMES_HOME/venv/lib/python3.12/site-packages/botocore/retries/base.pyr   zBaseRetryBackoff.delay_amount   s     ".11    N)__name__
__module____qualname__r    r   r   r   r      s    2r   r   c                       e Zd ZdZd Zy)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                     t        d      )zVReturns True if retryable, False if not.

        :type context: RetryContext
        is_retryabler   r   s     r   r   z!BaseRetryableChecker.is_retryable   s    
 ".11r   N)r   r   r   __doc__r   r   r   r   r   r      s    2r   r   N)r   r   r   r   r   <module>r      s   2 22 2r   