
    vKgN                     0    S SK r S SKJr   SS jrS rS rg)    N)merge_dictsc                     UR                  U 0 5      n[        XB5        S[        R                  " UR                  S0 5      5      0n[        XR5        [	        XT5        Ub  [        XS5        U$ )N__default__)getresolve_referencescopydeepcopyr   _merge_client_retry_config)endpoint_prefixretry_modeldefinitionsclient_retry_configservice_configfinal_retry_configs         R/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/botocore/translate.pybuild_retry_configr      sh     !___b9N~3 	t}}[__]B%GH )7"3&"#5K    c                 D    UR                  S5      nUb  US-   U S   S'   g g )Nmax_attempts   r   )r   )retry_configr   max_retry_attempts_overrides      r   r
   r
   *   s7    "5"9"9."I". (!+ 	]#N3 /r   c                    U R                  5        Hy  u  p#[        U[        5      (       d  M  [        U5      S:X  aC  [	        UR                  5       5      S   S:X  a#  U[	        UR                  5       5      S      X'   Mn  [        X15        M{     g)a2  Recursively 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.

r   r   z$refN)items
isinstancedictlenlistkeysvaluesr   )configr   keyvalues       r   r   r   =   si     lln
eT""5zQ4

#5a#8F#B)$u||~*>q*AB"56 %r   )N)r   botocore.utilsr   r   r
   r    r   r   <module>r&      s#     & DH.
&7r   