HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/botocore/__pycache__/translate.cpython-310.pyc
o

.&�aT
�@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�4/usr/lib/python3/dist-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

�