0x1949 Team - FAZEMRX - MANAGER
Edit File: __init__.cpython-310.pyc
o ���f( � @ sZ d Z ddlmZ ddlmZ ddlmZmZ dddiiZdd � Z d d� Z e� Ze e� dS ) z� cloud-init reporting framework The reporting framework is intended to allow all parts of cloud-init to report events in a structured manner. � )�Type)�DictRegistry)�HandlerType�available_handlers�logging�type�logc C sf | � � D ],\}}|stj|dd� q|�� }tj|�d� }t�|� |di |��}t�||� qdS )z�Update the instantiated_handler_registry. :param config: The dictionary containing changes to apply. If a key is given with a False-ish value, the registered handler matching that name will be unregistered. T)�forcer N� )�items�instantiated_handler_registry�unregister_item�copyr �registered_items�pop� register_item)�config�handler_name�handler_config�cls�instancer r �>/usr/lib/python3/dist-packages/cloudinit/reporting/__init__.py�update_configuration s �� �r c C s t j�� D ]} | �� qd S )N)r r �values�flush)�handlerr r r �flush_events- s �r N)�__doc__�typingr �cloudinit.registryr �cloudinit.reporting.handlersr r �DEFAULT_CONFIGr r r r r r r �<module> s �