
    tni                     v    d dl Z d dlmZ d dlmZ d dlmZ d dlmZ erd dlm	Z	 d dl
mZ  G d d	e          ZdS )
    N)Integrationadd_global_event_processor)_get_installed_modules)TYPE_CHECKING)Any)Eventc                   *    e Zd ZdZedd            ZdS )ModulesIntegrationmodulesreturnNc                  (    t           dd            } d S )Neventr	   hintr   r   c                     |                      d          dk    r| S t          j                                        t                    | S t                      | d<   | S )Ntypetransactionr   )get
sentry_sdk
get_clientget_integrationr   r   )r   r   s     \/var/www/html/gpu-tools/venv/lib/python3.11/site-packages/sentry_sdk/integrations/modules.py	processorz0ModulesIntegration.setup_once.<locals>.processor   sV    yy  M11$&&667IJJR577E)L    )r   r	   r   r   r   r	   r   )r   s    r   
setup_oncezModulesIntegration.setup_once   s+    	#	 	 	 
$	#	 	 	r   )r   N)__name__
__module____qualname__
identifierstaticmethodr    r   r   r   r      s7        J
 
 
 \
 
 
r   r   )r   sentry_sdk.integrationsr   sentry_sdk.scoper   sentry_sdk.utilsr   typingr   r   sentry_sdk._typesr	   r   r!   r   r   <module>r'      s        / / / / / / 7 7 7 7 7 7 3 3 3 3 3 3             (''''''         r   