| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/botocore/retries/__pycache__/ |
Upload File : |
�
P��e � �x � d Z ddlZddlmZ ddlmZ ej e� Z G d� de� Z G d� de� Z
y) z�Special cased retries.
These are additional retry cases we still have to handle from the legacy
retry handler. They don't make sense as part of the standard mode retry
module. Ideally we should be able to remove this module.
� N)�crc32)�BaseRetryableCheckerc � � e Zd ZdZd� Zy)�RetryIDPCommunicationError�stsc � � |j j j }|| j k7 ry|j � }|dk( S )NF�IDPCommunicationError)�operation_model�
service_model�service_name�
_SERVICE_NAME�get_error_code)�self�contextr �
error_codes �:/usr/lib/python3/dist-packages/botocore/retries/special.py�is_retryablez'RetryIDPCommunicationError.is_retryable sD � ��.�.�<�<�I�I���4�-�-�-���+�+�-�
��4�4�4� N)�__name__�
__module__�__qualname__r
r � r r r r s � ��M�5r r c � � e Zd ZdZdZd� Zy)�RetryDDBChecksumErrorzx-amz-crc32�dynamodbc �r � |j j j }|| j k7 ry|j �y|j j
j
| j � }|�yt |j j � dz }|t |� k7 rt j d||� yy )NFl �� z@DynamoDB crc32 checksum does not match, expected: %s, actual: %sT)
r
r r r
�
http_response�headers�get�_CHECKSUM_HEADERr �content�int�logger�debug)r r r �checksum�actual_crc32s r r z"RetryDDBChecksumError.is_retryable! s� � ��.�.�<�<�I�I���4�-�-�-��� � �(���(�(�0�0�4�4�T�5J�5J�K������W�2�2�:�:�;�j�H���3�x�=�(��L�L�+���
� � )r N)r r r r r
r r r r r r s � �$���M�r r )�__doc__�logging�binasciir �botocore.retries.baser � getLoggerr r# r r r r r �<module>r, sA ��� � � 6� �� � �8� $��
5�!5� 5��0� r