HEX
Server: LiteSpeed
System: Linux server.nevid-deploma.com 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: smilepac (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/cppython/lib/python3.8/site-packages/botocore/__pycache__/translate.cpython-38.pyc
U

KD�gN
�@s2ddlZddlmZd	dd�Zdd�Zdd�ZdS)
�N)�merge_dictscCsV|�|i�}t||�dt�|�di��i}t||�t||�|dk	rRt||�|S)N�__default__)�get�resolve_references�copy�deepcopyr�_merge_client_retry_config)Zendpoint_prefixZretry_model�definitions�client_retry_configZservice_configZfinal_retry_config�r�?/opt/cppython/lib/python3.8/site-packages/botocore/translate.py�build_retry_configs
	�


r
cCs&|�d�}|dk	r"|d|dd<dS)NZmax_attempts�r)r)Zretry_configr
Zmax_retry_attempts_overriderrrr*s

�rcCsd|��D]V\}}t|t�rt|�dkrTt|���ddkrT|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�valuerrrr=s

 r)N)rZbotocore.utilsrr
rrrrrr�<module>s
�