| Server IP : 185.143.234.130 / Your IP : 185.215.232.195 Web Server : LiteSpeed System : Linux jambul.7ho.st 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : renecafe ( 1327) PHP Version : 8.1.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/__pycache__/ |
Upload File : |
�
b�ƯH��� �T � d Z ddlZddlZ ddlmZ n# e$ r ddlmZ Y nw xY wdZg d�Z G d� de � � Z
G d� d e
� � Z G d
� de
� � Z G d� d
e
� � Z
G d� de
� � Z G d� de
� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z ed� � \ ZZZZZZd� Zd� Z G d� de� � Z G d� d e� � Z G d!� d"e� � Z G d#� d$e � � Z! G d%� d&e� � Z" G d'� d(e� � Z#d)� Z$d*� Z%dS )+z�schema is a library for validating Python data structures, such as those
obtained from config-files, forms, external services or command-line
parsing, converted from JSON/YAML (or something else) to Python data-types.� N)� ExitStackz0.7.5)�Schema�And�Or�Regex�Optional�Use� Forbidden�Const�Literal�SchemaError�SchemaWrongKeyError�SchemaMissingKeyError�SchemaForbiddenKeyError�SchemaUnexpectedTypeError�SchemaOnlyOneAllowedErrorc �0 � e Zd ZdZdd�Zed� � � ZdS )r
zError during Schema validation.Nc �� � t |� � t u r|n|g| _ t |� � t u r|n|g| _ t � | | j � � d S �N)�type�list�autos�errors� Exception�__init__�code)�selfr r s �W/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/schema.pyr zSchemaError.__init__% sZ � �"�5�k�k�T�1�1�U�U��w��
� $�V���� 4� 4�f�f�6�(������4���+�+�+�+�+� c �� � d� } |d� | j D � � � � } |d� | j D � � � � }|rd� |� � S d� |� � S )zW
Removes duplicates values in auto and error list.
parameters.
c �N ��� t � � ��j ���fd�| D � � S )zB
Utility function that removes duplicate.
c �2 �� g | ]}|�v� �|� � �|��S � r# )�.0�x�seen�seen_adds ��r �
<listcomp>z2SchemaError.code.<locals>.uniq.<locals>.<listcomp>8 s* �� �H�H�H�!�a�t�m�m�H�H�Q�K�K�m�A�m�m�mr )�set�add)�seqr&