# Path: gae/cerberus/cerberus.py
# @property
# def errors(self):
#     """
#     :rtype: a list of validation errors. Will be empty if no errors
#             were found during. Resets after each call to :func:`validate`.
#     """
#     return self._errors


import sys
import re
import copy
from datetime import datetime
from collections import Iterable, Mapping, Sequence
from . import errors
            e.update(errorstack)
            self._error(field, e)
        if operator == 'noneof' and valid > 0:
            e = {'noneof': 'one or more definitions validated'}
            e.update(errorstack)
            self._error(field, e)
        if operator == 'oneof' and valid != 1:
            e = {'oneof': 'more than one rule (or no rules) validated'}
            e.update(errorstack)
            self._error(field, e)

    def _validate_anyof(self, definitions, field, value):
        self._validate_logical('anyof', definitions, field, value)

    def _validate_allof(self, definitions, field, value):
        self._validate_logical('allof', definitions, field, value)

    def _validate_noneof(self, definitions, field, value):
        self._validate_logical('noneof', definitions, field, value)

    def _validate_oneof(self, definitions, field, value):
        self._validate_logical('oneof', definitions, field, value)

    def __get_child_validator(self, **kwargs):
        """ creates a new instance of Validator-(sub-)class, all initial
        parameters of the parent are passed to the initialization, unless
        a parameter is given as an explicit *keyword*-parameter.

        :rtype: an instance of self.__class__"""
        child_config = self.__config.copy()

# Path: gae/cerberus/cerberus.py
# @property
# def errors(self):
#     """
#     :rtype: a list of validation errors. Will be empty if no errors
#             were found during. Resets after each call to :func:`validate`.
#     """
#     return self._errors


# Path: gae/cerberus/cerberus.py
import sys
import re
import copy
from datetime import datetime
from collections import Iterable, Mapping, Sequence
from . import errors

            e.update(errorstack)
            self._error(field, e)
        if operator == 'noneof' and valid > 0:
            e = {'noneof': 'one or more definitions validated'}
            e.update(errorstack)
            self._error(field, e)
        if operator == 'oneof' and valid != 1:
            e = {'oneof': 'more than one rule (or no rules) validated'}
            e.update(errorstack)
            self._error(field, e)

    def _validate_anyof(self, definitions, field, value):
        self._validate_logical('anyof', definitions, field, value)

    def _validate_allof(self, definitions, field, value):
        self._validate_logical('allof', definitions, field, value)

    def _validate_noneof(self, definitions, field, value):
        self._validate_logical('noneof', definitions, field, value)

    def _validate_oneof(self, definitions, field, value):
        self._validate_logical('oneof', definitions, field, value)

    def __get_child_validator(self, **kwargs):
        """ creates a new instance of Validator-(sub-)class, all initial
        parameters of the parent are passed to the initialization, unless
        a parameter is given as an explicit *keyword*-parameter.

        :rtype: an instance of self.__class__"""
        child_config = self.__config.copy()

        child_config.update(kwargs)