관리-도구
편집 파일: config_provider.cpython-311.pyc
� IMgo% � � � d dl Z d dlZd dlZd dlZd dlmZ d dlmZ d dlm Z d dl mZmZm Z d dlZd dlZd dlmZ ej e� � ZdZ G d� d e � � Z G d � de� � Z G d� d � � Zdee dee fd�Zdedefd�Zdededefd�Z G d� d� � Z G d� de� � Z G d� de� � Z G d� de� � Z!dS ) � N)�abstractmethod)�suppress)�dedent)�Mapping�Optional�Protocol)�atomic_rewritei c �~ � e Zd Ze ddedefd�� � Zededdfd �� � Zed ee defd�� � Z dS ) �IConfigProviderFT� force_read� ignore_errorsc � � t ��N��NotImplementedError)�selfr r s �^/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/contracts/config_provider.py�read_config_filez IConfigProvider.read_config_file s � � "�!� �config�returnNc � � t �r r )r r s r �write_config_filez!IConfigProvider.write_config_file � � �!�!r � timestampc � � t �r r �r r s r �modified_sincezIConfigProvider.modified_since r r �FT)�__name__� __module__�__qualname__r �boolr r r r �floatr � r r r r s� � � � � � ��>B�"� "��"�7;�"� "� "� �^�"� �"�� "�D� "� "� "� �^�"� �"���� "�D� "� "� "� �^�"� "� "r r c � � e Zd ZdS )�ConfigErrorN)r r! r"