관리-도구
편집 파일: signals_handlers.cpython-311.pyc
� �܋f� � � � d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z d dl mZ e rd dlm Z d dlmZ d d lmZ d � Zd� ZdS ) � )�absolute_import)�Signal)�Hub��wraps)� TYPE_CHECKING)�OP)�Any)�Callable)�Listc �\ � d}t | d� � r| j }n_t | d� � r| j }nGt | d� � r7t | d� � r't | j d� � rd| j j z dz }|dk rt | � � S t | d� � r | j dz |z }|S ) N� �__qualname__�__name__�funczpartial(<function z>)� __module__�.)�hasattrr r r �strr )�receiver�names ��/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/sentry_sdk/integrations/django/signals_handlers.py�_get_receiver_namer s� � � �D��x��(�(� H��$��� ��:� &� &� H�� ��� ��&� � � H� �8�V�$�$� H���� �)K�)K� H�'�(�-�*@�@�4�G�D� �� � ��8�}�}���x��&�&� 0��"�S�(�4�/���K� c �R ��� ddl m� t j ���fd�} | t _ dS )z.Patch django signal receivers to create a spanr )�DjangoIntegrationc �� ��� t j � � | |� � }�fd�}�� �� � }|r*|j r#t |� � D ]\ }} ||� � ||<