f>c( V d dl Z d dlmZ d dlmZ d dlmZmZ d dlm Z d dl
mZmZ d dl
mZ d dlmZ d dlZd d lmZmZ d d
lmZ er'd dlmZ d dlmZ d d
lmZ ededef Z d dlmZ n# e$ r ed w xY w G d de Zd Z G d de Z dS ) N)reraise)Hub)IntegrationDidNotEnable)_make_request_event_processor)capture_internal_exceptionsevent_from_exception)MYPYwraps)ChaliceChaliceViewError)EventSourceHandler)Any)TypeVar)CallableF.)bound)__version__zChalice is not installedc e Zd Zd ZdS )r c r t j }|j }| 5 }t 5 | }| t ||| d d d n# 1 swxY w Y t j | || cd d d S # t $ rg t j }t ||j ddd \ }}| || | t# | Y nw xY w d d d d S # 1 swxY w Y d S )NchaliceFtypehandledclient_options mechanismhint)r currentclient
push_scoper get_remaining_time_in_millisadd_event_processorr ChaliceEventSourceHandler__call__ Exceptionsysexc_infor options
capture_eventflushr ) selfeventcontexthubr" scopeconfigured_timer* r s /builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/sentry_sdk/integrations/chalice.pyr' zEventSourceHandler.__call__ s k
^^
#,..
")"F"F"H"H))1%/RR
#09$wOO # # # # # # # #
#
#
#<>>2#)>'0UCC t
!!%d!333 """"
# ## # # # # # # # # # # # # # # # # # #sS D,9A<0D,<B D,B D,B**A.DD,DD,,D03D0N)__name__
__module____qualname__r' r4 r r s# # # # # #r9 r c @ t fd }|S )Nc t j }|j }| 5 }t 5 j } j j |_ | t j j | d d d n# 1 swxY w Y
di | cd d d S # t $ rw}t |t r t! j }t% ||j ddd \ }}| || | d }~ww xY w# 1 swxY w Y d S )Nr Fr r r r8 )r r! r" r# r lambda_contextr$
function_nametransactionr% r current_requestto_dictr(
isinstancer r) r* r r+ r, r- )
function_argsr1 r" r2 r3 excr* r/ r app
view_functions r4 wrapped_view_functionz:_get_view_function_response.