HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/lib64/python3.10/site-packages/botocore/__pycache__/translate.cpython-310.pyc
o

�hN
�@s4ddlZddlmZ	d	dd�Zdd�Zdd�ZdS)
�N)�merge_dictscCsV|�|i�}t||�dt�|�di��i}t||�t||�|dur)t||�|S)N�__default__)�get�resolve_references�copy�deepcopyr�_merge_client_retry_config)�endpoint_prefix�retry_model�definitions�client_retry_config�service_config�final_retry_config�r�E/usr/local/CyberCP/lib/python3.10/site-packages/botocore/translate.py�build_retry_configs
	�


rcCs*|�d�}|dur|d|dd<dSdS)N�max_attempts�r)r)�retry_configr�max_retry_attempts_overriderrrr*s


��rcCsd|��D]+\}}t|t�r/t|�dkr*t|���ddkr*|t|���d||<qt||�qdS)aJRecursively replace $ref keys.

    To cut down on duplication, common definitions can be declared
    (and passed in via the ``definitions`` attribute) and then
    references as {"$ref": "name"}, when this happens the reference
    dict is placed with the value from the ``definition`` dict.

    This is recursively done.

    rrz$refN)�items�
isinstance�dict�len�list�keys�valuesr)�configr�key�valuerrrr=s
 
��r)N)r�botocore.utilsrrrrrrrr�<module>s

�