Attributes

Class: Boolean

Field for truth values following a three-valued logic (i.e. true, false, and unknown or not applicable); in brief, a nullable boolean.

True is represented by the string 'true', and falseness is represented by 'false'; case is significant. An absence of value is denoted by '' or a missing parameter in the MultiDict of input.

Methods

has_value (self, input)

Return whether a value has been provided for the field in the given MultiDict of input.

required (self)

Return whether the field is mandatory.

translate (self, input)

Translate the field from a MultiDict of values.

Attributes

Value of

None