Format: application/x-python-code
1 o
2
3 7'h�$ � @ s d dl mZ d dlZd dlZddlmZmZmZ zd dlZW n
4 e e
5 fy+ dZY nw zd dlZW n e y= dZY nw ddd�ZG d d
6 � d
7 �Z
8 G dd� d�ZG d
9 d� d�ZG dd� d�ZG dd� d�ZG dd� d�ZG dd� d�ZG dd� d�ZG dd� d�ZG dd� d�ZdS )� )�annotationsN� )�ExceptionMapping�PoolTimeout�map_exceptions�return�strc C sp zdd l } W n ty d}Y nw | �� }|dvrtd��|dkr*td u r*td��|dkr6td u r6td��|S )Nr �asyncio)r �trioz/Running under an unsupported async environment.zBRunning with asyncio requires installation of 'httpcore[asyncio]'.r
10 z<Running with trio requires installation of 'httpcore[trio]'.)�sniffio�ImportError�current_async_library�RuntimeError�anyior
11 )r �environment� r �OC:\Users\shubh\Videos\agent\nova\Lib\site-packages\httpcore/_synchronization.pyr
12 s"