관리-도구
편집 파일: async.cpython-311.pyc
� �܋f[ � �R � d Z ddlmZ ddlZddlmZ ddlmZ G d� de� � ZdS )z� raven.contrib.async ~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_importN)�Client)�AsyncWorkerc �4 � � e Zd ZdZd� fd� Z� fd�Zd� Z� xZS )�AsyncClientzI This client uses a single background thread to dispatch errors. Nc � �� t j dt � � |p t � � | _ t t | � � j |i |�� d S )NzCAsyncClient is deprecated. Use the threaded+http transport instead.)�warnings�warn�DeprecationWarningr �worker�superr �__init__)�selfr �args�kwargs� __class__s ��d/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/raven/contrib/async.pyr zAsyncClient.__init__ sO �� �� �[�]o�p�p�p��-�� � ���)��k�4� � �)�4�:�6�:�:�:�:�:� c �H �� t t | � � j di |�� d S )N� )r r �send)r r r s �r � send_synczAsyncClient.send_sync s, �� �%��k�4� � �%�/�/��/�/�/�/�/r c �6 � | j j | j fi |�� d S �N)r �queuer )r r s r r zAsyncClient.send s'