📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-27 11:42:55
📂
/
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
sentry_sdk
/
integrations
/
__pycache__
✏️
Editing: flask.cpython-312.pyc
� Yr*j! � �* � d dl mZ d dlZd dlmZmZmZ d dlmZm Z d dl mZ d dlm Z d dlmZ d dlmZmZmZmZ er"d d l mZmZmZmZ d d lmZmZ d dlmZmZ d dl mZ d dl Z d d l"m#Z#m$Z$ d dl"m%Z& d dl'm(Z(m)Z)m*Z* d dl+m,Z, d dl-Z-dZ. G d� de� Z/ d$d�Z0ddde1ddddfd�Z2d%d�Z3 G d� d e � Z4 d&d!�Z5 ee/� d'd"�� Z6d(d#�Z7y# e!$ r dZ Y ��w xY w# e!$ r ed� �w xY w# e!$ r ed� �w xY w))� )� TYPE_CHECKINGN)�DidNotEnable�Integration�_check_minimum_version)�DEFAULT_HTTP_METHODS_TO_CAPTURE�RequestExtractor)�SentryWsgiMiddleware)�should_send_default_pii)�SOURCE_FOR_STYLE)�capture_internal_exceptions�ensure_integration_enabled�event_from_exception�package_version)�Any�Callable�Dict�Union)�FileStorage�ImmutableMultiDict)�Event�EventProcessor)�_ScopedResponse)�Flask�Request)�request)�before_render_template�got_request_exception�request_started)�MarkupzFlask is not installedzblinker is not installed)�endpoint�urlc �J � e Zd ZdZde� �ZdZdefdedddd fd �Ze dd�� Z y ) �FlaskIntegration�flaskz auto.http.� r �transaction_style�http_methods_to_captureztuple[str, ...]�returnNc � � |t vrt d|�dt �d�� �|| _ t t t j |� � | _ y )Nz%Invalid value for transaction_style: z (must be in �))�TRANSACTION_STYLE_VALUES� ValueErrorr&