관리-도구
편집 파일: _legacy_validators.cpython-311.pyc
� �܋f� � �Z � d dl mZ d dlmZ d dlmZ d� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z dS ) � )�_utils)� iteritems)�ValidationErrorc # �~ K � | � |d� � sd S t |� � D ]�\ }}||vr� | � |d� � r | � |||�� � D ]}|V � ��@| � |d� � r||vrt |�d|��� � V � �q|D ]}||vrd}t |||fz � � V � ���d S )N�object��schema_path�stringz is a dependency of z%r is a dependency of %r)�is_typer �descendr ) � validator�dependencies�instance�schema�property� dependency�error�each�messages �T/opt/cloudlinux/venv/lib64/python3.11/site-packages/jsonschema/_legacy_validators.py�dependencies_draft3r sJ � � � ����X�x�0�0� ��� )�,� 7� 7� F� F���*��8�#�#�����Z��2�2� F�"�*�*��*�(� +� � � � �� ����� � � � �z�8� 4� 4� F���)�)�%�2<�*�*�h�h�G�� � � � �� #� F� F���x�'�'�8�G�)�'�T�8�4D�*D�E�E�E�E�E�� F�F� F� c # � K � t j |� � D ]1}| � |d|gi� � rt |�d|��� � V � �2d S )N�typez is disallowed for )r �ensure_list�is_validr )r �disallowr r � disalloweds r �disallow_draft3r st � � � ��(��2�2� � � ����h��*��(>�?�?� �!�-7�Z�Z���B�� � � � ��� r c # �� K � | � |d� � r| � ||� � D ]}|V � �d S t |� � D ]$\ }}| � |||�� � D ]}|V � ��%d S )Nr r )r r � enumerate)r �extendsr r r �index� subschemas r �extends_draft3r% '