HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/opt/nydus/ops/jsonschema/__pycache__/__init__.cpython-39.pyc
a

�,�he�@sldZddlZddlmZddlmZddlmZmZddl	m
Z
mZmZm
Z
mZmZmZdd�Zgd	�ZdS)
a9
An implementation of JSON Schema for Python.

The main functionality is provided by the validator classes for each of the
supported JSON Schema versions.

Most commonly, `jsonschema.validators.validate` is the quickest way to simply
validate a given instance under a schema, and will create a validator
for you.
�N)�
FormatChecker)�TypeChecker)�SchemaError�ValidationError)�Draft3Validator�Draft4Validator�Draft6Validator�Draft7Validator�Draft201909Validator�Draft202012Validator�validatec	CsX|dkr.tjdtdd�ddlm}|�d�S|dkrXdd	lm}tj|jtdd�|S|d
kr�tjdtdd�ddl	m
}|S|d
kr�tjdtdd�ddl	m}|S|dkr�tjdtdd�ddlm
}|S|dk�r�ddl	m}tj|jtdd�|Sttttttd�}|�|�}|du�r@tjd|�d�tdd�|jStdt�d|����dS)N�__version__z�Accessing jsonschema.__version__ is deprecated and will be removed in a future release. Use importlib.metadata directly to query for jsonschema's version.�)�
stacklevelr)�metadataZ
jsonschemaZRefResolver)�_RefResolver�	ErrorTreez�Importing ErrorTree directly from the jsonschema package is deprecated and will become an ImportError. Import it from jsonschema.exceptions instead.)r�FormatErrorz�Importing FormatError directly from the jsonschema package is deprecated and will become an ImportError. Import it from jsonschema.exceptions instead.)r�	Validatorz�Importing Validator directly from the jsonschema package is deprecated and will become an ImportError. Import it from jsonschema.protocols instead.)rZRefResolutionError)�_RefResolutionError)Zdraft3_format_checkerZdraft4_format_checkerZdraft6_format_checkerZdraft7_format_checkerZdraft201909_format_checkerZdraft202012_format_checkerzAccessing jsonschema.z� is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator.zmodule z has no attribute )�warnings�warn�DeprecationWarning�	importlibr�version�jsonschema.validatorsrZ_DEPRECATION_MESSAGE�jsonschema.exceptionsrrZjsonschema.protocolsrrrrrr	r
r�getZFORMAT_CHECKER�AttributeError�__name__)	�namerrrrrrZformat_checkersZValidatorForFormat�r!�D/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/jsonschema/__init__.py�__getattr__s��
����
��


�r#)rrrr	r
rrrrrr)�__doc__rZjsonschema._formatrZjsonschema._typesrrrrrrrrr	r
rrr#�__all__r!r!r!r"�<module>s
$Q