/opt/alt/python38/lib/python3.8/site-packages/cerberus/__pycache__
Edit: /opt/alt/python38/lib/python3.8/site-packages/cerberus/__pycache__/validator.cpython-38.pyc (52215B)
U
` @ s d Z ddlmZ ddlmZ ddlmZ ddlmZmZ ddlZddl m
Z
ddlmZ dd l
mZmZmZmZmZmZmZmZ dd
lmZmZmZmZ ddlmZmZmZ e Z dd
Z!G dd de"Z#G dd de"Z$G dd de%Z&dZ'G dd de(Z)e)de&fi Z*dS )a
Extensible validation for Python dictionaries.
This module implements Cerberus Validator class
:copyright: 2012-2016 by Nicola Iarocci.
:license: ISC, see LICENSE for more details.
Full documentation is available at http://python-cerberus.org
)absolute_import)literal_eval)copy)datedatetimeN)warn)errors)
_int_types _str_type ContainerHashableIterableMappingSequenceSized)schema_registryrules_set_registryDefinitionSchemaSchemaError)drop_item_from_tuplereadonly_classpropertyTypeDefinitionc C s dd }|}| |_ |S )Nc S s t dd S )NzcDummy method called. Its purpose is to hold justvalidation constraints for a rule in its docstring.)RuntimeError)self
constraintfieldvalue r C/opt/alt/python38/lib/python3.8/site-packages/cerberus/validator.pydummy* s z(dummy_for_rule_validation.
.dummy)__doc__)Zrule_constraintsr fr r r dummy_for_rule_validation) s r" c @ s e Zd ZdZdS )
DocumentErrorzBRaised when the target document is missing or has the wrong formatN__name__
__module____qualname__r r r r r r# 6 s r# c @ s e Zd ZdZdS )_SchemaRuleTypeErrorzw
Raised when a schema (list) validation encounters a mapping.
Not supposed to be used outside this module.
Nr$ r r r r r( <