All

This class is like an 'and' operator for validators. All validators must work, and the results are passed in turn through all validators for conversion.


Attributes

a gettextargs

{}

a validators

[]

a strip

False

a use_builtins_gettext

True

a accept_python

True

a __singletonmethods__

('to_python', 'from_python', 'message', 'all_messages', 'subvalidators')

a declarative_count

9

a __unpackargs__

('*', 'validatorArgs')

a if_missing

<property object at 0xb7c074b4>

a compound

False

a not_empty

<property object at 0x86712d4>

a __mutableattributes__

('validators',)

a repeating

False

Methods

f __classinit__(cls, new_attrs) ...

f __init__(self, *args, **kw) ...

f subvalidators(self) ...

f attempt_convert(self, value, state, validate) ...

f with_validator(self, validator) ...

Adds the validator (or list of validators) to a copy of this validator.

f join(cls, *validators) ...

Joins several validators together as a single validator, filtering out None and trying to keep All validators from being nested (which isn't needed).

f if_missing__get(self) ...

f __initargs__(self, new_attrs) ...

f __call__(self, *args, **kw) ...

f not_empty__get(self) ...

f __sourcerepr__(self, source, binding=None) ...

f __classsourcerepr__(cls, source, binding=None) ...

See the source for more information.