0x1949 Team - FAZEMRX - MANAGER
Edit File: _legacy_validators.cpython-310.pyc
o >��]� � @ sh d dl mZ d dlmZ d dlmZ dd� Zdd� Zdd � Zd d� Z dd � Z dd� Zdd� Zdd� Z dS )� )�_utils)� iteritems)�ValidationErrorc c s� � | � |d�s d S t|�D ]F\}}||vrq | � |d�r+| j|||d�D ]}|V q$q | � |d�r?||vr>td||f �V q |D ]}||vrRd}t|||f �V qAq d S )N�object��schema_path�stringz%r is a dependency of %r)�is_typer �descendr ) � validator�dependencies�instance�schema�property� dependency�error�each�message� r �?/usr/lib/python3/dist-packages/jsonschema/_legacy_validators.py�dependencies_draft3 s2 � �� �����r c c s: � t �|�D ]}| �|d|gi�rtd||f �V qd S )N�typez%r is disallowed for %r)r �ensure_list�is_validr )r �disallowr r � disallowedr r r �disallow_draft3 s � ���r c c s\ � | � |d�r| �||�D ]}|V q d S t|�D ]\}}| j|||d�D ]}|V q%qd S )Nr r )r r � enumerate)r �extendsr r r �index� subschemar r r �extends_draft3'