HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/cloudinit/reporting/__pycache__/__init__.cpython-38.pyc
U

Ӈg(�@sZdZddlmZddlmZddlmZmZdddiiZdd	�Z	d
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_handlersZlogging�type�logcCsb|��D]T\}}|s$tj|dd�q|��}tj|�d�}t�|�|f|�}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)ZforcerN)�items�instantiated_handler_registryZunregister_item�copyr�registered_items�popZ
register_item)ZconfigZhandler_nameZhandler_config�cls�instance�r�>/usr/lib/python3/dist-packages/cloudinit/reporting/__init__.py�update_configurations��

rcCstj��D]}|��q
dS)N)r	r�values�flush)Zhandlerrrr�flush_events-srN)�__doc__�typingrZcloudinit.registryrZcloudinit.reporting.handlersrrZDEFAULT_CONFIGrrr	rrrr�<module>s�