hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
xray
/
continuous
/
__pycache__
/
Upload FileeE
HOME
B �'Ud� � @ sV d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z G dd � d �ZdS ) zG This module contains basic part of continuous tracingg implementation � N)�List� )�continuous_storage)� XRayError)�ContinuousTaskc @ sZ e Zd ZdZdd� Zed�dd�Zee d�dd�Z ee d�d d �Z edd�d d�ZdS )�ContinuousCommonz+ Base class for continuous tracing c C s t | _t�d�| _| �� | _d S )N� continuous)r �storage�logging� getLogger�logger�load_tracing_configuration�tracing_conf)�self� r �G/opt/alt/python37/lib/python3.7/site-packages/xray/continuous/common.py�__init__ s zContinuousCommon.__init__)�returnc s| | j �d� y.t�| j��� � fdd�� �� D �S Q R X W n< tk rv } z| j jddt|�id� t � S d}~X Y nX dS )zS Load full continuous tracing configuration from the local storage z(Loading continuous tracing configurationc s i | ]}� | |�qS r r )�.0�item)�dbr r � <dictcomp>&