Current File : //usr/lib/python3/dist-packages/landscape/message_schemas/__pycache__/message.cpython-312.pyc |
�
�~�eX � �V � d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ G d� de� Zy) � )�Any)�Bytes)�Constant)�Float)�KeyDictc �. � � e Zd ZdZd� fd� Z� fd�Z� xZS )�Messagea
Like L{KeyDict}, but with three predefined keys: C{type}, C{api},
and C{timestamp}. Of these, C{api} and C{timestamp} are optional.
@param type: The type of the message. The C{type} key will need to
match this as a constant.
@param schema: A dict of additional schema in a format L{KeyDict}
will accept.
@param optional: An optional list of keys that should be optional.
@param api: The server API version needed to send this message,
if C{None} any version is fine.
c �� �� || _ || _ t � |d<