o
    di]                     @   s(   d dl mZmZmZ G dd deZdS )    )RetryDDBChecksumErrorcrc32loggerc                   @   s   e Zd Zdd ZdS )AioRetryDDBChecksumErrorc                    s|   |j jj}|| jkrdS |jd u rdS |jj| j}|d u r"dS t|jj	I d H d@ }|t
|kr<td|| dS d S )NFl    z@DynamoDB crc32 checksum does not match, expected: %s, actual: %sT)operation_modelservice_modelservice_name_SERVICE_NAMEhttp_responseheadersget_CHECKSUM_HEADERr   contentintr   debug)selfcontextr   checksumactual_crc32 r   O/home/ubuntu/.local/lib/python3.10/site-packages/aiobotocore/retries/special.pyis_retryable   s$   


z%AioRetryDDBChecksumError.is_retryableN)__name__
__module____qualname__r   r   r   r   r   r      s    r   N)botocore.retries.specialr   r   r   r   r   r   r   r   <module>   s    