kuޢAq d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
d d lmZmZ d d
lmZmZ d dlmZmZmZ er3d dlmZmZmZmZmZ d d
lmZmZm Z d dlm!Z! ededef Z" d dl#m$Z$m%Z%m&Z&m'Z' d dl(m)Z)m*Z*m+Z+ n# e,$ r ed w xY we)e*e+fZ- G d de Z.d Z/d Z0d Z1d Z2d Z3dS ) )absolute_importN)datetime)reraise)
TYPE_CHECKING)Hub)OP)_should_send_default_pii)DidNotEnableIntegration)TransactionTRANSACTION_SOURCE_TASK)capture_internal_exceptionsevent_from_exceptionSENSITIVE_DATA_SUBSTITUTE)AnyCallableOptionalUnionTypeVar)EventProcessorEventHint)ExcInfoF.)bound)HueyResultResultGroupTask)CancelExecution RetryTaskTaskLockedExceptionzHuey is not installedc ( e Zd ZdZed ZdS )HueyIntegrationhueyc > t t d S N)
patch_enqueue
patch_execute n/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/sentry_sdk/integrations/huey.py
setup_oncezHueyIntegration.setup_once( s r+ N)__name__
__module____qualname__
identifierstaticmethodr- r* r+ r, r$ r$ % s2 J \ r+ r$ c B t j fd} | t _ d S )Nc t j }| t | | S | t
j |j 5 | | cd d d S # 1 swxY w Y d S )N)opdescription)r currentget_integrationr$
start_spanr QUEUE_SUBMIT_HUEYname)selftaskhubold_enqueues r, _sentry_enqueuez&patch_enqueue.