AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/conf/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/conf/__pycache__/remote.cpython-311.pyc |
� �܋f3 � � � d dl mZ d dlZd dlZd dlZd dlmZmZ d dlm Z d dl mZ d dlm Z mZ dZ ej d� � Zd � Z e� � Z G d � de� � ZdS )� )�absolute_importN)�PY2� text_type)� InvalidDsn)� to_string)� parse_qsl�urlparsez(Unsupported Sentry DSN scheme: {0} ({1})�ravenc �� � ddl m} ddlm} dt j v r*dt j v rt � d� � |S dt j v rt � d� � |S | S ) Nr )�ThreadedHTTPTransport)� HTTPTransport�CURRENT_VERSION_ID�INSTANCE_IDzODetected environment to be Google App Engine. Using synchronous HTTP transport.�LAMBDA_TASK_ROOTzHDetected environment to be AWS Lambda. Using synchronous HTTP transport.)�raven.transport.threadedr �raven.transport.httpr �os�environ�logger�info)r r s �H/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/conf/remote.py�discover_default_transportr s� � �>�>�>�>�>�>�2�2�2�2�2�2� �r�z�)�)�m�r�z�.I�.I����e�f�f�f��� �R�Z�'�'����^�_�_�_��� � � c �P � e Zd Z d d�Zd� Zd� Zd� Zd� Zd� Ze d d�� � Z dS )�RemoteConfigNc � � |r|� d� � }|�d|�d�}nd }|| _ || _ || _ || _ |pi | _ || _ |pt | _ d S )N�/z/api/z/store/) �rstrip�base_url�project� public_key� secret_key�options�store_endpoint�DEFAULT_TRANSPORT�_transport_cls)�selfr r r! r"