HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/botocore/__pycache__/history.cpython-36.pyc
3

�T_��@sBddlZdaeje�ZGdd�de�ZGdd�de�Zdd�ZdS)�Nc@seZdZdd�ZdS)�BaseHistoryHandlercCstd��dS)Nzemit())�NotImplementedError)�self�
event_type�payload�source�r�/usr/lib/python3.6/history.py�emitszBaseHistoryHandler.emitN)�__name__�
__module__�__qualname__r
rrrr	rsrc@s6eZdZdd�Zdd�Zdd�Zdd�Zd
d
d�ZdS)�HistoryRecordercCsd|_g|_dS)NF)�_enabled�	_handlers)rrrr	�__init__szHistoryRecorder.__init__cCs
d|_dS)NT)r)rrrr	�enableszHistoryRecorder.enablecCs
d|_dS)NF)r)rrrr	�disable!szHistoryRecorder.disablecCs|jj|�dS)N)r�append)r�handlerrrr	�add_handler$szHistoryRecorder.add_handler�BOTOCOREcCsX|jrT|jrTxF|jD]<}y|j|||�Wqtk
rNtjd|dd�YqXqWdS)NzException raised in %s.T)�exc_info)rrr
�	Exception�logger�debug)rrrrrrrr	�record'szHistoryRecorder.recordN)r)rrr
rrrrrrrrr	rs
rcCstdkrt�atS)N)�HISTORY_RECORDERrrrrr	�get_global_history_recorder3sr)	ZloggingrZ	getLoggerrr�objectrrrrrrr	�<module>
s