. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.167 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/__pycache__/ |
Upload File : |
U
��\ � @ st d dl m Z d dlmZ d dlmZ d dlmZ d dlmZm Z m
Z
g Zdd� Zdd � Zd
d� ZG dd
� d
e�ZdS )� )�copy)�deque��wraps)�chain)�logger�capture_internal_exceptions�object_to_jsonc C s t �| � d S �N)�global_event_processors�append)� processor� r �A/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/scope.py�add_global_event_processor s r c C s t | | jd�S )N)�fset�doc)�property�__doc__��fnr r r �_attr_setter s r c s t � �� fdd��}|S )Nc s2 | j s
d S zd| _ � | f|�|�W �S d| _ X d S )NTF)�_should_capture)�self�args�kwargsr r r �wrapper s z!_disable_capture.<locals>.wrapperr )r r r r r �_disable_capture s
r c @ s� e Zd ZdZdZdd� Zedd� �Zedd� �Zed d
� �Z edd� �Z
d
d� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd(d d!�Zed)d"d#��Zd$d%� Zd&d'� ZdS )*�ScopezaThe scope holds extra information that should be sent with all
events that belong to it.
)�_level�_name�_fingerprint�_transaction�_user�_tags� _contexts�_extras�_breadcrumbs�_event_processors�_error_processorsr c C s g | _ g | _d | _| �� d S r
)r( r) r �clear�r r r r �__init__@ s zScope.__init__c C s
|| _ dS )z"When set this overrides the level.N)r �r �valuer r r �levelG s zScope.levelc C s
|| _ dS )z0When set this overrides the default fingerprint.N)r! r- r r r �fingerprintL s zScope.fingerprintc C s
|| _ dS )z;When set this forces a specific transaction name to be set.N)r"