관리-도구
편집 파일: scope.cpython-38.pyc
U �Mgr� � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dlm Z d dl m Z mZ d dlm Z d dlmZ d d lmZ d d lmZmZmZ d dlmZ d dlmZ d d lmZ d dlmZmZmZm Z d dl!m"Z"m#Z#m$Z$m%Z%m&Z& d dl'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/ d dl0m1Z1 e1�r>d dl2m3Z3m4Z4 d dl0m5Z5 d dl0m6Z6 d dl0m7Z7 d dl0m8Z8 d dl0m9Z9 d dl0m:Z: d dl0m;Z; d dl0m<Z< d dl0m=Z= d dl0m>Z> d dl0m?Z? d dl0m@Z@ d dlAmBZB d d lCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZM d d!l!mNZN d dlOZOe=d"�ZPe?d#�ZQe?d$e6d%e5f d&�ZRe?d'�ZSdaTe*d(dd)�ZUe*d*dd)�ZVg ZWG d+d,� d,e �ZXG d-d.� d.�ZYd/d0� ZZd1d2� Z[d3d4� Z\G d5d6� d6�Z]ed7d8� �Z^ed9d:� �Z_ed;d(� �Z`ed<d=� �Zad>d?� Zbd d@lcmdZd e1�r�d dlcZOdS )A� N��copy)�deque)�contextmanager)�Enum)�datetime�timezone��wraps)�chain)� Attachment)�DEFAULT_MAX_BREADCRUMBS�FALSE_VALUES�INSTRUMENTER)�!try_autostart_continuous_profiler)�Profile)�Session)�Baggage�has_tracing_enabled�normalize_incoming_data�PropagationContext)�BAGGAGE_HEADER_NAME�SENTRY_TRACE_HEADER_NAME�NoOpSpan�Span�Transaction)�capture_internal_exception�capture_internal_exceptions� ContextVar�datetime_from_isoformat�disable_capture_event�event_from_exception�exc_info_from_error�logger)� TYPE_CHECKING)�Mapping�MutableMapping)�Any)�Callable)�Deque)�Dict)� Generator)�Iterator)�List)�Optional)� ParamSpec)�Tuple)�TypeVar)�Union)�Unpack) � Breadcrumb�BreadcrumbHint�ErrorProcessor�Event�EventProcessor�ExcInfo�Hint�LogLevelStr�SamplingContext�Type)�TransactionKwargs�P�R�F.)�bound�T�isolation_scope)�default� current_scopec @ s e Zd ZdZdZdZdZdS )� ScopeType�currentZ isolation�globalZmergedN)�__name__� __module__�__qualname__�CURRENT� ISOLATION�GLOBAL�MERGED� rQ rQ �>/opt/hc_python/lib/python3.8/site-packages/sentry_sdk/scope.pyrG h s rG c @ s&