o
    ‰Öh4  ã                   @   sh   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	„ d	eƒZdS )
é    N)ÚIntegration©Úadd_global_event_processor)Ú_get_installed_modules)ÚTYPE_CHECKING)ÚAny)ÚEventc                   @   s   e Zd ZdZedd„ ƒZdS )ÚModulesIntegrationÚmodulesc                  C   s   t dd„ ƒ} d S )Nc                 S   s6   |   d¡dkr	| S t ¡  t¡d u r| S tƒ | d< | S )NÚtypeÚtransactionr
   )ÚgetÚ
sentry_sdkÚ
get_clientÚget_integrationr	   r   )ÚeventÚhint© r   úa/var/www/html/pro-man-master/venv/lib/python3.10/site-packages/sentry_sdk/integrations/modules.pyÚ	processor   s   
z0ModulesIntegration.setup_once.<locals>.processorr   )r   r   r   r   Ú
setup_once   s   zModulesIntegration.setup_onceN)Ú__name__Ú
__module__Ú__qualname__Ú
identifierÚstaticmethodr   r   r   r   r   r	      s    r	   )r   Úsentry_sdk.integrationsr   Úsentry_sdk.scoper   Úsentry_sdk.utilsr   Útypingr   r   Úsentry_sdk._typesr   r	   r   r   r   r   Ú<module>   s    