| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/nftables/__pycache__/ |
Upload File : |
a
� jAN � @ sD d dl Z d dlT d dlZd dlZdZG dd� d�ZG dd� d�ZdS )� N)�*z0.1c @ s e Zd ZdZdd� Zdd� ZdS )�SchemaValidatorz+Libnftables JSON validator using jsonschemac C s^ t j�t j�t�d�}t|d��}t�|�| _W d � n1 sB0 Y dd l }|| _ d S )Nzschema.json�rr )
�os�path�join�dirname�__file__�open�json�load�schema�
jsonschema)�selfZschema_pathZschema_filer � r �5/usr/lib/python3.9/site-packages/nftables/nftables.py�__init__ s
*zSchemaValidator.__init__c C s | j j|| jd� d S )N)�instancer
)r �validater
)r r r r r r "