관리-도구
편집 파일: client.cpython-311.pyc
� �܋fjY � � � d dl mZ d dlZd dlZd dlZd dlmZ d dlZd dlmZm Z m Z d dlmZm Z mZmZmZmZmZmZmZ d dlmZ d dlmZmZ d dlmZ d d lmZmZmZm Z m!Z! d d l"m#Z# d dlm$Z$ d dl%m&Z& d d l'm(Z( d dl)m*Z*m+Z+ d dl,m-Z- d dl.m/Z/ d dl0m1Z1 e1r2d dl2m3Z3 d dl2m4Z4 d dl2m5Z5 d dl2m6Z6 d dl2m7Z7 d dl8m9Z9 d dl0m:Z:m;Z; d dl<m=Z= e$d� � Z>de de d�gd�Z?d� Z@ eAZBn # eC$ r eDZBY nw xY w G d � d!eE� � ZFd dl0m1Z1 e1r( G d"� d#e!e5eGe3f � � ZH G d$� d%e!eF� � ZIdS d&� � � ZH d'� � � ZIdS )(� )� import_moduleN)�datetime)�string_types� text_type� iteritems) �capture_internal_exceptions�current_stacktrace�disable_capture_event�format_timestamp�get_sdk_name� get_type_name�get_default_release� handle_in_app�logger)� serialize)�trace�has_tracing_enabled)�make_transport)�DEFAULT_MAX_VALUE_LENGTH�DEFAULT_OPTIONS�INSTRUMENTER�VERSION�ClientConstructor)�setup_integrations)� ContextVar)�SessionFlusher)�Envelope)�has_profiling_enabled�setup_profiler)� EventScrubber)�Monitor)� TYPE_CHECKING)�Any)�Callable)�Dict)�Optional)�Sequence)�Scope)�Event�Hint)�Session�client_init_debugz sentry.pythonzpypi:sentry-sdk)�name�version)r- r. �packagesc �r � | rCt | d t t t f� � s| d �| d }| dd � } nd }t | � � dk rt d� � �t t � � }t | i |��}|�|� d� � �||d<