
    nbi                       U d dl mZ d dlZ	 d dlmZ  e ej        d          d                   dk     Zded<   n# e	e
f$ r d	ZY nw xY werd dlZndZ	 d dlZej         ej         ej         n# e
ef$ r dZY nw xY weeere ed
          e ej        dej        ej                  Zn ej        dej        ej                  ZddZdS )    )annotationsN)__version__.i  boolHAS_LEGACY_URLLIB3TzThis is awkward but your environment is missing urllib3-future. Your environment seems broken. You may fix this issue by running `python -m pip install niquests -U` to force reinstall its dependencies.Toreturnc                   t           | S t          rdt          t          |                     vrt          J t          | t           j                  r%t	          j        | j        | j        | j	                  S t          | t           j
                  rtt	          j
        | j        | j        | j        | j        | j        | j        | j        | j        | j        | j        | j        | j        | j        | j        | j        | j                  S | S )z1Retry, Timeout must be the one in urllib3_future.Nurllib3_future)redirectstatusotherallowed_methodsstatus_forcelistbackoff_factorbackoff_maxraise_on_redirectraise_on_statushistoryrespect_retry_after_headerremove_headers_on_redirectbackoff_jitter)urllib3r   strtyper   
isinstanceTimeouttotalconnect_timeoutread_timeoutRetryconnectreadr   r   r   r   r   r   r   r   r   r   r   r   r   )r
   s    `/var/www/html/mdtn/previsions/meteo_cartes/venv/lib/python3.11/site-packages/niquests/_compat.pyurllib3_ensure_typer'   -   s     3tAww<<//!---!W_-- %-G%N  
 !W]++ %+GIFZ8'$%$5%&%7#$#3 !&'&9$%$5I/0/K/0/K#$#3!   & H    )r
   r	   r   r	   )
__future__r   typingr   r   intsplitr   __annotations__
ValueErrorImportErrorr   r   r#   AttributeErrorRuntimeErrorTypeVarr	   r'    r(   r&   <module>r4      s   " " " " " " " ######"s#4;#4S#9#9"#=>>DDDDDDK     	  NNNN OOMM^$   GGG O.4F.>Ka
,	/   sGOW];;AAsN2N4HIIA# # # # # #s!   .< 	AAA/ /	A;:A;