관리-도구
편집 파일: httpx.cpython-37.pyc
B T a5 � @ s� d dl mZ d dlmZmZ d dlmZ er8d dlmZ yd dl m Z mZmZm Z W n ek rp ed��Y nX dgZG dd� de�Zd d � Zdd� Zd S )� )�Hub)�Integration�DidNotEnable)�MYPY)�Any)�AsyncClient�Client�Request�Responsezhttpx is not installed�HttpxIntegrationc @ s e Zd ZdZedd� �ZdS )r �httpxc C s t � t� dS )z� httpx has its own transport layer and can be customized when needed, so patch Client.send and AsyncClient.send to support both synchronous and async interfaces. N)�_install_httpx_client�_install_httpx_async_client� r r �N/opt/alt/python37/lib/python3.7/site-packages/sentry_sdk/integrations/httpx.py� setup_once s zHttpxIntegration.setup_onceN)�__name__� __module__�__qualname__� identifier�staticmethodr r r r r r s c s t j� � fdd�} | t _d S )Nc s� t j}|�t�d kr"� | |f|�S |jdd|j|jf d��|}|�d|j� |�dt|j�� x|� � D ]\}}||j |<