OwlCyberSecurity - MANAGER
Edit File: atexit.cpython-312.pyc
� G��gt � � � d dl Z d dlZd dlZd dlZd dlmZ d dlmZ d dlm Z e rd dlm Z d dlmZ d� Z G d� d e� Z y) � N)�logger)�Integration)� TYPE_CHECKING)�Any)�Optionalc � � d� } |d| z � |d|z � |dt j dk( xr dxs dz � t j j � y) z�This is the default shutdown callback that is set on the options. It prints out a message to stderr that informs the user that some events are still pending and the process is waiting for them to flush out. c �H � t j j | dz � y )N� )�sys�stderr�write)�msgs �M/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/atexit.py�echozdefault_callback.<locals>.echo s � �� � ����t��$� z.Sentry is attempting to send %i pending eventszWaiting up to %s secondszPress Ctrl-%s to quit�nt�Break�CN)�os�namer r �flush)�pending�timeoutr s r �default_callbackr sU � �%� � 9�G� C�D�� #�g� -�.�� �B�G�G�t�O�$?��$F�3� G�H��J�J���r c �( � e Zd ZdZdd�Zed� � Zy)�AtexitIntegration�atexitNc �"