ok

Mini Shell

Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/setoptconf/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/setoptconf/__pycache__/manager.cpython-311.pyc

�

�܋fb��V�ddlmZddlmZddlmZddlmZdZGd�de	��Z
d	S)
�)�deepcopy�)�
Configuration)�Setting)�Source)�ConfigurationManagerc� �eZdZd�Zd�Zd�ZdS)rc�"�||_g|_dS)N)�name�settings)�selfrs  �c/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/setoptconf/manager.py�__init__zConfigurationManager.__init__s����	���
�
�
�c��t|t��r|j�|��dSt	d���)Nz$Can only add objects of type Setting)�
isinstancerr�append�	TypeError)r
�settings  r�addzConfigurationManager.adds@���g�w�'�'�	D��M� � ��)�)�)�)�)��B�C�C�Crc���g}t|��D]�}t|t��r|�|���-t|t��r3t|t��r|�|�����ut
d���t|j���}|D],}|�	t|j��||���}�-|���|S)NzAll sources must be a Source)r)�manager�parent)�reversedrrr�type�
issubclassrrr�
get_configr�validate)r
�sources�
to_process�source�configs     r�retrievezConfigurationManager.retrieves���
��w�'�'�	@�	@�F��&�&�)�)�
@��!�!�&�)�)�)�)��F�D�)�)�
@�j���.H�.H�
@��!�!�&�&�(�(�+�+�+�+�� >�?�?�?���
�6�6�6�� �	�	�F��&�&����'�'��f�'���F�F�	�������
rN)�__name__�
__module__�__qualname__rrr#�rrrrsD���������D�D�D�����rrN)�copyrr"rrr�source.baser�__all__�objectrr'rr�<module>r,s���������!�!�!�!�!�!�������������$�������6�����r

Zerion Mini Shell 1.0