관리-도구
편집 파일: envelope.cpython-311.pyc
� �܋fw% � � � d dl Z d dlZd dlZd dlmZmZ d dlmZ d dlm Z d dl mZmZ er,d dl mZ d dl mZ d dl mZ d d l mZ d d l mZ d dl mZ d dlmZmZ d � Z G d� de� � Z G d� de� � Z G d� de� � ZdS )� N)� text_type�PY2)� TYPE_CHECKING)�Session)� json_dumps�capture_internal_exceptions)�Any)�Optional)�Union)�Dict)�List)�Iterator)�Event�EventDataCategoryc � � t s+t | t � � r| � dd� � } t j | � � S )N�utf-8�replace)r � isinstance�bytes�decode�json�loads)�datas �J/opt/cloudlinux/venv/lib64/python3.11/site-packages/sentry_sdk/envelope.py� parse_jsonr s@ � � � /�:�d�E�*�*� /��{�{�7�I�.�.���:�d���� c � � e Zd Z dd�Zed� � � Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zed� � � Zed� � � Zd� ZdS )�EnvelopeNc �p � |�t |� � }|pi | _ |�g }nt |� � }|| _ d S �N)�dict�headers�list�items)�selfr"