관리-도구
편집 파일: hub.cpython-311.pyc
� ^�DgeU � � � d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlmZ d dl m Z d dlmZm Z d dlmZ d d lmZmZmZmZ d d lmZ ernd dlmZ d dlmZ d d lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dlm!Z! d dlm"Z" d dlm#Z# d dl$m%Z% d dlm&Z&m'Z'm(Z(m)Z)m*Z* d dl+m,Z, e!d� � Z-nd� Z" ed� � Z.d� Z/d� Z0 G d� d e1� � Z2d!� Z3d d lmZ er G d"� d#e,e#e � � Z4n d$� � � Z4 G d%� d&e5� � Z6 G d'� d(e1� � Z7 G d)� d* ee6� � � � Z8 e8� � Z9e.�: e9� � dS )+� N)�datetime)�contextmanager)�with_metaclass��Scope)�Client)�Span�Transaction)�Session)�exc_info_from_error�event_from_exception�logger� ContextVar)�MYPY)�Union)�Any)�Optional)�Tuple)�Dict)�List)�Callable)� Generator)�Type)�TypeVar)�overload)�ContextManager)�Integration)�Event�Hint� Breadcrumb�BreadcrumbHint�ExcInfo)�ClientConstructor�Tc � � | S �N� )�xs �E/opt/imunify360/venv/lib64/python3.11/site-packages/sentry_sdk/hub.pyr r 1 s � ��� �sentry_current_hubc � � |r|rt d� � �|�Et j | � � }t |� � r ||� � n<|� |� � n&|r"t j | � � } |j di |�� n| }|S )Nzcannot provide scope and kwargsr'