관리-도구
편집 파일: _legacy_validators.cpython-37.pyc
B �pSe� � @ 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�sd S x�t|�D ]�\}}||kr,q| � |d�rZxt| j|||d�D ] }|V qJW q| � |d�r�||kr�td||f �V qx*|D ]"}||kr�d}t|||f �V q�W qW d S )N�object)�schema_path�stringz%r is a dependency of %r)�is_typer �descendr ) � validatorZdependencies�instance�schema�propertyZ dependency�errorZeach�message� r �N/opt/alt/python37/lib/python3.7/site-packages/jsonschema/_legacy_validators.py�dependencies_draft3 s"