Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib64
/
python3.12
/
site-packages
/
sentry_sdk
/
integrations
/
__pycache__
[ HOME ]
Exec
Submit
File Name : fastapi.cpython-312.pyc
� w�/i� � � � d dl Z d dlmZ d dlmZ d dlZd dlmZ d dlm Z d dl mZmZ d dl mZ d dlmZ erd d lmZmZmZ d d lmZ d dlmZmZ d dlZdZ G d� de� Zd� Zd� Zy# e$ r ed� �w xY w# e$ r ed � �w xY w)� N)�deepcopy)�wraps)�DidNotEnable)�should_send_default_pii)�SOURCE_FOR_STYLE�TransactionSource)�transaction_from_function)� TYPE_CHECKING)�Any�Callable�Dict)�Event)�StarletteIntegration�StarletteRequestExtractorzStarlette is not installedzFastAPI is not installedzgeneric FastAPI requestc � � e Zd ZdZed� � Zy)�FastApiIntegration�fastapic � � t � y �N)�patch_get_request_handler� � �N/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/fastapi.py� setup_oncezFastApiIntegration.setup_once% s � � "�#r N)�__name__� __module__�__qualname__� identifier�staticmethodr r r r r r "