403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.12/site-packages/jsonschema/benchmarks/__pycache__/nested_schemas.cpython-312.pyc
�

�% gc�
�"�dZddlmZddlmZdddddddddd�ddd	d
�Zd�Zee�e�Zedk(rZdd
l	m
Z
e
�Zed��Zejdd��eddd�D]#Zee��Zejde��efd���%yy)z�
Validating highly nested schemas shouldn't cause exponential time blowups.

See https://github.com/python-jsonschema/jsonschema/issues/1097.
�)�cycle)�
validator_forz/https://example.com/draft/2020-12/schema/strictz,https://json-schema.org/draft/2020-12/schemaT)z0https://json-schema.org/draft/2020-12/vocab/corez6https://json-schema.org/draft/2020-12/vocab/applicatorz7https://json-schema.org/draft/2020-12/vocab/unevaluatedz6https://json-schema.org/draft/2020-12/vocab/validationz5https://json-schema.org/draft/2020-12/vocab/meta-dataz=https://json-schema.org/draft/2020-12/vocab/format-annotationz3https://json-schema.org/draft/2020-12/vocab/content�metaF)z$idz$schemaz$vocabularyz$dynamicAnchorz$ref�unevaluatedPropertiesc��tgd��}ddddiid�}tt|dz
�|�D]\}}d||id�}�|S)zL
    Produce a schema which validates deeply nested objects and arrays.
    )�foo�bar�baz�quux�spam�eggs�object�ham�type�string)r�
properties�)r�zip�range)�levels�names�schema�_�names     �I/usr/lib/python3.12/site-packages/jsonschema/benchmarks/nested_schemas.py�
nested_schemarsT��

�?�@�E��u�v�x�6H�.I�
J�F��u�V�a�Z�(�%�0���4�"�4��.�A��1��M��__main__)�Runnerr)rz
not nestedc�4�tjt�S�N)�	validator�is_valid�
not_nested�rr�<lambda>r&1s��I�,>�,>�z�,Jr��z	nested * c�,�tj|�Sr!)r"r#)rs rr&r&7s��)�"4�"4�V�"<rN)�__doc__�	itertoolsr�jsonschema.validatorsr�
metaschemaishrr"�__name__�pyperfr�runnerr$�
bench_funcrrrr%rr�<module>r2s����
�/�=�=�=A�BF�CG�BF�AE�IM�?C���:�"�!�
�(	�
)�M�-�(��7�	��z���
�X�F��a�(�J�
���l�$J�K���2�q�/���f�-�������x� � �<�	
�"�r

Youez - 2016 - github.com/yon3zu
LinuXploit