관리-도구
편집 파일: messages.cpython-311.pyc
� IMg�/ � �2 � d dl Z d dlmZ d dlmZ d dlmZ d dlm Z m Z G d� de� � Z G d� d � � Z G d � d� � Z G d� d � � Z e� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� dee� � Z G d� de� � Z G d� d� � Z G d� de� � Z G d� de� � Z G d � d!e� � Z G d"� d#ee� � Z G d$� d%ee� � Z G d&� d'e� � Z G d(� d)ee� � Z G d*� d+ee� � Z G d,� d-e� � Z! G d.� d/ee� � Z" G d0� d1e� � Z# G d2� d3e� � Z$ G d4� d5e� � Z% G d6� d7ee� � Z& G d8� d9ee� � Z' G d:� d;ee� � Z( G d<� d=e� � Z) G d>� d?e� � Z* G d@� dAee� � Z+dBe,dCe-dDe,fdE�Z. G dF� dGee� � Z/ G dH� dIeee� � Z0 G dJ� dKe� � Z1 G dL� dM� � Z2dS )N� N)�Enum)�List)�Core)�batched�batched_dictc � � e Zd ZdS )�MessageNotFoundErrorN��__name__� __module__�__qualname__� � �W/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/contracts/messages.pyr r � � � � � � ��Dr r c � � e Zd ZdZd� Zd� ZdS )�UnknownMessagez& Used as stub for MessageType c � � t d� � �)NzMessage class is not found.)r ��selfs r �__init__zUnknownMessage.__init__ s � �"�#@�A�A�Ar c � � dS )N�Unknownr )r �names r �__getattr__zUnknownMessage.__getattr__ s � ��yr N)r r r �__doc__r r r r r r r s? � � � � � �� �B� B� B�� � � � r r c �8 � � e Zd Zg Z� fd�Zed� � � Z� xZS )�MessageTc �n �� t � � j di |�� | j � | � � d S )Nr )�super�__init_subclass__�_subclasses�append)�cls�kwargs� __class__s �r r! zMessageT.__init_subclass__ s<