https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/botocore/retries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/botocore/retries/base.py
class BaseRetryBackoff(object):

    def delay_amount(self, context):
        """Calculate how long we should delay before retrying.

        :type context: RetryContext

        """
        raise NotImplementedError("delay_amount")


class BaseRetryableChecker(object):
    """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.
    """

    def is_retryable(self, context):
        """Returns True if retryable, False if not.

        :type context: RetryContext
        """
        raise NotImplementedError("is_retryable")

https://t.me/RX1948 - 2025