관리-도구
편집 파일: api.cpython-311.pyc
� ^�Dg� � �� � d dl Z d dlmZ d dlmZ d dlmZ ergd dlmZ d dlm Z d dlm Z d dlmZ d d lmZ d d lm Z d dlmZ d dlmZ d d lmZmZmZmZmZ d dlmZmZ e d� � Z e dedef �� � Znd� Zg d�Zd� Zd� Ze d*d�� � Ze d*d�� � Ze d*d�� � Ze d*d�� � Z ed� � � Z!ed� � � Z!e d+d�� � Z!ed� � � Z"ed� � � Z"e d+d �� � Z"ed!� � � Z#ed"� � � Z$ed#� � � Z%ed$� � � Z&ed%� � � Z'e d*d&�� � Z(ed'� � � Z)e d+d(�� � Z*e d+d)�� � Z+dS ),� N)�Hub)�Scope)�MYPY)�Any)�Dict)�Optional)�overload)�Callable)�TypeVar)�ContextManager)�Union)�Event�Hint� Breadcrumb�BreadcrumbHint�ExcInfo)�Span�Transaction�T�F.)�boundc � � | S �N� )�xs �E/opt/imunify360/venv/lib64/python3.11/site-packages/sentry_sdk/api.pyr r s � ��� )� capture_event�capture_message�capture_exception�add_breadcrumb�configure_scope� push_scope�flush� last_event_id� start_span�start_transaction�set_tag�set_context� set_extra�set_user� set_levelc � � d| j z �dt j t t | j � � � � ��| _ | S )Nz&Alias for :py:meth:`sentry_sdk.Hub.%s`� )�__name__�inspect�getdoc�getattrr �__doc__��fs r � hubmethodr6 2 s@ � � 1�1�:�=�=�=���w�s�A�J�/�/�0�0�0��A�I� �Hr c � � d| j z �dt j t t | j � � � � ��| _ | S )Nz(Alias for :py:meth:`sentry_sdk.Scope.%s`r. )r/ r0 r1 r2 r r3 r4 s r �scopemethodr8 ; s@ � � 3�Q�Z�?�?�?���w�u�a�j�1�1�2�2�2��A�I� �Hr c �6 � t j j | |fd|i|��S �N�scope)r �currentr )�event�hintr; � scope_argss r r r D s&