a
    f	gB                     @   s   d Z ddlZddlZzddlZW n6 eyV   zddlZW n eyP   dZY n0 Y n0 ejdksvejdkrejdkrejddddZ	nejddd	dZ	d
dgZ
dS )z
The _compat module is used for code which requires branching between different
Python environments. It is excluded from the code coverage checks.
    N)   
   )r      )   r   r   r   )contextreturnc                 C   s   t jj| _d S N)ssl
TLSVersionTLSv1_2minimum_versionr    r   P/var/www/html/llm_bihealth/app/venv/lib/python3.9/site-packages/httpx/_compat.pyset_minimum_tls_version_1_2   s    r   c                 C   sD   |  j tjO  _ |  j tjO  _ |  j tjO  _ |  j tjO  _ d S r   )optionsr	   OP_NO_SSLv2OP_NO_SSLv3OP_NO_TLSv1OP_NO_TLSv1_1r   r   r   r   r   "   s    brotli)__doc__r	   sysZ
brotlicffir   ImportErrorversion_infoOPENSSL_VERSION_INFO
SSLContextr   __all__r   r   r   r   <module>   s"   
	