OwlCyberSecurity - MANAGER
Edit File: server.cpython-312.pyc
� G��g� � �� � d dl Z d dlmZ d dlmZ d dlmZ d dlmZm Z d dl mZ erd dl mZm Z d dlmZ d dlZd d lmZmZmZ G d� dej* � Zy# e$ r ed � �w xY w) � N)�OP)�DidNotEnable)�SPAN_ORIGIN)�Transaction�TransactionSource)� TYPE_CHECKING)�Callable�Optional)�Message)�ServicerContext�HandlerCallDetails�RpcMethodHandlerzgrpcio is not installedc �6 � � e Zd Zd� fd� Zd� Zed� � Z� xZS )�ServerInterceptorc �T �� |xs t j | _ t �| � � y �N)r � _find_name�_find_method_name�super�__init__)�self� find_name� __class__s ��R/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/grpc/server.pyr zServerInterceptor.__init__ s"