ok

Mini Shell

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

a

`8ab�@sHddlmZddlmZddlmZddlmZdZGdd�de	�Z
d	S)
�)�deepcopy�)�
Configuration)�Setting)�Source)�ConfigurationManagerc@s$eZdZdd�Zdd�Zdd�ZdS)rcCs||_g|_dS)N)�name�settings)�selfr�r�H/home/carl/code/landscape/setoptconf-tmp/build/lib/setoptconf/manager.py�__init__szConfigurationManager.__init__cCs$t|t�r|j�|�ntd��dS)Nz$Can only add objects of type Setting)�
isinstancerr	�append�	TypeError)r
�settingrrr�adds
zConfigurationManager.addcGs�g}t|�D]D}t|t�r&|�|�qt|t�rHt|t�rH|�|��qtd��qt|jd�}|D]}|j	t
|j�||d�}qb|��|S)NzAll sources must be a Source)r	)�manager�parent)�reversedrrr�type�
issubclassrrr	Z
get_configr�validate)r
�sourcesZ
to_process�source�configrrr�retrieves

�zConfigurationManager.retrieveN)�__name__�
__module__�__qualname__r
rrrrrrrsrN)�copyrrrrrZsource.baser�__all__�objectrrrrr�<module>s


Zerion Mini Shell 1.0