Index of the api module
-
m
formencode.api
...
- Core classes for validation.
- a Identity ...
-
C
NoDefault
...
-
C
Invalid
...
- This is raised in response to invalid input. It has several
public attributes:
- f __init__ ...
- f unpack_errors ... - Returns the error as a simple data structure -- lists, dictionaries, and strings.
-
C
FancyValidator
...
- FancyValidator is the (abstract) superclass for various validators
and converters. A subclass can validate, convert, or do both.
There is no formal distinction made here.
- a gettextargs ...
- a strip ...
- a use_builtins_gettext ...
- a __singletonmethods__ ...
- a declarative_count ...
- a __unpackargs__ ...
- f subvalidators ... - Return any validators that this validator contains. This is not useful for functional, except to inspect what values are available. Specifically the .all_messages() method uses this to accumulate all possible messages.
- f validate_python ... - A validation method that doesn't do anything.
- f base64encode ... - Encode a string in base64, stripping whitespace and removing newlines.
- f message ...
- f __init__ ...
- f validate_other ... - A validation method that doesn't do anything.
- f all_messages ... - Return a dictionary of all the messages of this validator, and any subvalidators if present. Keys are message names, values may be a message or list of messages. This is really just intended for documentation purposes, to show someone all the messages that a validator or compound validator (like Schemas) can produce.
- f empty_value ...
- f __classinit__ ...
- f assert_string ...
- f to_python ...
- f is_empty ...
- f from_python ...
-
C
Validator
...
- The base class of most validators. See IValidator for more, and
FancyValidator for the more common (and more featureful) class.
- a declarative_count ...
- f subvalidators ... - Return any validators that this validator contains. This is not useful for functional, except to inspect what values are available. Specifically the .all_messages() method uses this to accumulate all possible messages.
- f all_messages ... - Return a dictionary of all the messages of this validator, and any subvalidators if present. Keys are message names, values may be a message or list of messages. This is really just intended for documentation purposes, to show someone all the messages that a validator or compound validator (like Schemas) can produce.
- f message ...
- f __init__ ...
- f to_python ...
- f from_python ...
- f is_validator ...