Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/botocore/retries/__pycache__/special.cpython-39.pyc
Ðазад
a q�hK � @ sR d Z ddlZddlmZ ddlmZ e�e�ZG dd� de�Z G dd� de�Z dS ) 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 @ s e Zd ZdZdd� ZdS )�RetryIDPCommunicationError�stsc C s( |j jj}|| jkrdS |�� }|dkS )NFZIDPCommunicationError)�operation_model� service_model�service_name� _SERVICE_NAMEZget_error_code)�self�contextr Z error_code� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/botocore/retries/special.py�is_retryable s z'RetryIDPCommunicationError.is_retryableN)�__name__� __module__�__qualname__r r r r r r r s r c @ s e Zd ZdZdZdd� ZdS )�RetryDDBChecksumErrorzx-amz-crc32Zdynamodbc C st |j jj}|| jkrdS |jd u r&dS |jj�| j�}|d u rBdS t|jj �d@ }|t |�krpt�d||� dS d S )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 ZchecksumZactual_crc32r r r r # s �z"RetryDDBChecksumError.is_retryableN)r r r r r r r r r r r s r )�__doc__�logging�binasciir Zbotocore.retries.baser � getLoggerr r r r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка