관리-도구
편집 파일: base.cpython-311.pyc
� |�Cga � �T � d dl mZmZmZ d dlmZ dZdZdZdZ dZ G d� d � � Zd S )� )�Any�Optional�Dict)�LimitsDataStorage�user�package�reseller�defaults�builtinc �( � e Zd Zdd�Zd� Zd� Zd� ZdS )� BaseValidatorNc �H � |p t � � | _ d d d d d�| _ d S )N)� common_msg�specific_msg�affected_entity� entity_id)r �limits_provider� _message_dict)�self�_limits_data_storages �N/opt/cloudlinux/venv/lib64/python3.11/site-packages/cllimits_validator/base.py�__init__zBaseValidator.__init__ s9 � �3�J�7H�7J�7J��� � �#�� � ����� c � � t � � �)zF Validate limits which already are recorded in ve.cfg ��NotImplementedError�r �args�kwargss r �validate_existing_limitsz&BaseValidator.validate_existing_limits � � � "�#�#�#r c � � t � � �)z6 Validate limits which we want to set r r s r �validate_input_limitsz#BaseValidator.validate_input_limits( r! r c � � t � � ��Nr r s r � _validatezBaseValidator._validate0 s � � "�#�#�#r r% )�__name__� __module__�__qualname__r r r# r&