Uname : Linux premium36.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
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib64
/
python3.12
/
site-packages
/
sentry_sdk
/
__pycache__
[ HOME ]
Exec
Submit
sessions.cpython-312.pyc
� w�/i�# � �0 � d dl Z d dlZd dlmZmZmZ d dlmZ d dlZd dl m Z d dlmZ d dl mZ d dlmZ er*d dlmZ d d lmZ d d lmZ d dlmZ d dlmZ d d lmZ d dlmZ dd�Zedd�� Zd� Zd� Zedd�� Zedd�� ZdZdZd� Z G d� d� Z!y)� N)�Thread�Lock�Event)�contextmanager)�Envelope)�Session)�format_timestamp)� TYPE_CHECKING)�Any)�Callable)�Dict)� Generator)�List)�Optional)�Unionc � � t j dt d�� | �t j j } | j j }|�6| j r| j j ni }|j dd� }|S )zHDEPRECATED: Utility function to find out if session tracking is enabled.�nThis function is deprecated and will be removed in the next major release. There is no public API replacement.� �� stacklevel�auto_session_trackingF)�warnings�warn�DeprecationWarning� sentry_sdk�Hub�current�scope�_force_auto_session_tracking�client�options�get)�hub�should_track�client_optionss �B/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/sessions.py� is_auto_session_tracking_enabledr'