§
<ˆj ã óf — d dl Z d dlZd dlmZ d dlmZmZ er
d dlmZm Z m
Z
G d„ de¦ « ZdS )é N)Ú
TYPE_CHECKING)ÚItemÚ
PayloadRef)ÚOptionalÚUnionÚCallablec ó, — e Zd Z dd„Zd„ Zd„ ZdS )Ú
AttachmentNFc ó — |€|€t d¦ « ‚|€!|�t j |¦ « }|€t d¦ « ‚|€t j |¦ « d }|| _ || _ || _ || _ || _ d S )Nz)path or raw bytes required for attachmentz#filename is required for attachmentr )
Ú TypeErrorÚosÚpathÚbasenameÚ mimetypesÚ
guess_typeÚbytesÚfilenameÚcontent_typeÚadd_to_transactions)Úselfr r r r r s úM/opt/cloudlinux/venv/lib64/python3.11/site-packages/sentry_sdk/attachments.pyÚ__init__zAttachment.__init__ s— € ð ˆ=˜T˜\ÝÐGÑHÔHÐHØÐ Ð 0Ý”w×'Ò'¨Ñ-Ô-ˆHØÐÝÐAÑBÔBÐBØÐÝ$Ô/°Ñ9Ô9¸!Ô<ˆL؈Œ
Ø ˆŒ
؈Œ Ø(ˆÔØ#6ˆÔ Ð Ð ó c óÚ — d}| j �1t | j ¦ « r| ¦ « }n| j }nt | j ¬¦ « }t |d| j | j ¬¦ « S )z-Returns an envelope item for this attachment.N)r Ú
attachment)ÚpayloadÚtyper r )r Úcallabler r r r r )r r s r Úto_envelope_itemzAttachment.to_envelope_item# su € ð ˆØŒ:Ð!ݘœ
Ñ#Ô#ð
%ØŸ*š*™,œ,��àœ*��å d¤iÐ0Ñ0Ô0ˆGÝØØØÔ*Ø”]ð
ñ
ô
ð
r c ó — d| j ›d�S )Nz