← Back
Editing: consts.cpython-312.pyc
� ]*j� � �� � d dl Z d dlmZ d dlmZ dZdZdZ G d� de� Z G d� d e� Z er�d d lm Z mZmZm Z mZmZmZmZmZmZ d dlmZmZ d dlZd dlmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$ ed i dee% �dee% �dee& �dee& �dee �dee& �dee% �dee% �dee �dee% �dee& �dee& �dee& �deeeegee f �dee& �deee egee f �deed �ee eee"egee" f ee& d ��d�!� Z'dZ(dZ)d"Z*g d#�Z+ G d$� d%e,e� Z- G d&� d'� Z. G d(� d)� Z/ G d*� d+� Z0 G d,� d-� Z1 G d.� d/� Z2 G d0� d1� Z3d4d2�Z4 e4� Z5[4d3Z6y)5� N)�Enum)� TYPE_CHECKING�d Fc � � e Zd ZdZdZdZy)�EndpointTypez� The type of an endpoint. This is an enum, rather than a constant, for historical reasons (the old /store endpoint). The enum also preserve future compatibility, in case we ever have a new endpoint. �envelopezintegration/otlp/v1/tracesN)�__name__� __module__�__qualname__�__doc__�ENVELOPE�OTLP_TRACES� � �@/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/consts.pyr r s � �� �H�.�Kr r c � � e Zd ZdZdZy)�CompressionAlgo�gzip�brN)r r r �GZIP�BROTLIr r r r r s � ��D� �Fr r ) �AbstractSet�Any�Callable�Dict�List�Optional�Sequence�Tuple�Type�Union)�Literal� TypedDict)�BreadcrumbProcessor�ContinuousProfilerMode�Event�EventProcessor�Hint�IgnoreSpansConfig�Log�Metric�ProfilerMode�SpanJSON� TracesSampler�TransactionProcessor�Experiments� max_spans� max_flags�record_sql_params�continuous_profiling_auto_start�continuous_profiling_mode�otel_powered_performance� transport_zlib_compression_level�transport_compression_level�transport_compression_algo�transport_num_pools�transport_http2�transport_async�enable_logs�before_send_log�enable_metrics�before_send_metric�trace_lifecycle)�static�stream)�ignore_spans�before_send_span� suppress_asgi_chained_exceptions)�totalz.*)�false�no�off�n�0c �( � e Zd ZdZdZdZdZdefd�Zy)�SPANTEMPLATE�default�ai_agent�ai_tool�ai_chat�returnc � � | j S �N)�value)�selfs r �__str__zSPANTEMPLATE.__str__p s � ��z�z�r N) r r r �DEFAULT�AI_AGENT�AI_TOOL�AI_CHAT�strrX r r r rN rN j s"