3
;XM? % @ s d dl mZ d dlZd dlZd dlZyd dlZW n ek
rH dZY nX d dlmZm Z d dl
mZmZm
Z
mZmZmZmZmZmZmZ d dlmZ d dlmZmZmZ ej Zi Zej Zdd Zf ddfd d
Z dddZ!e ej"d
e j#e j$e j%e j&e j'e j(e j)e j*e j+e j,e j-e j.e j/e j0e j1e j2e j(e j3e j4e j5e j6e j7dd
dZ8e ej"de j#e j$e j%e j9e j:e j&e j)e j+e j,e j-e j.e j;e j/e j0e j1e je j3e j4e j?e j@e jAe j7dddZBG dd deCZDefddZEdddZFdS ) )divisionN)_utils_validators)
Sequenceurljoinurlsplit urldefragunquoteurlopen str_types int_types iteritems lru_cache) ErrorTree)RefResolutionErrorSchemaErrorUnknownTypec s fdd}|S )a
Register the decorated validator for a ``version`` of the specification.
Registered validators and their meta schemas will be considered when
parsing ``$schema`` properties' URIs.
Arguments:
version (str):
An identifier to use as the version's name
Returns:
callable: a class decorator to decorate the validator with the version
c s$ | t <