AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/landscape/message_schemas/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/landscape/message_schemas/__pycache__/message.cpython-310.pyc
o

���c��@s0ddlmZmZmZmZmZGdd�de�ZdS)�)�KeyDict�Float�Bytes�Constant�Anycs.eZdZdZd�fdd�	Z�fdd�Z�ZS)�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.
    Ncsn||_||_t�|d<tt�td��|d<t|�|d<|dur'|�ddg�nddg}tt|�j	||d�dS)N�	timestamp�api�type)�optional)
r
r	rrrr�extend�superr�__init__)�selfr
�schemarr	��	__class__��C/usr/lib/python3/dist-packages/landscape/message_schemas/message.pyrs
zMessage.__init__cs6t|���D]}||jvr|�|�qtt|��|�S)N)�list�keysr�popr
r�coerce)r�value�krrrrs


�zMessage.coerce)NN)�__name__�
__module__�__qualname__�__doc__rr�
__classcell__rrrrrs
rN)�landscape.lib.schemarrrrrrrrrr�<module>s

Anon7 - 2022
AnonSec Team