class documentation
This :class:`MultiDict` subclass is used to store request form data. Additionally to the normal dict-like item access methods (which return unmodified data as native strings), this container also supports attribute-like access to its values. Attributes are automatically de- or recoded to match :attr:`input_encoding` (default: 'utf8'). Missing attributes default to an empty string.
Method | __getattr__ |
Undocumented |
Method | decode |
Returns a copy with all keys and values de- or recoded to match :attr:`input_encoding`. Some libraries (e.g. WTForms) want a unicode dictionary. |
Method | getunicode |
Return the value as a unicode string, or the default. |
Class Variable | input |
Undocumented |
Class Variable | recode |
Undocumented |
Method | _fix |
Undocumented |
Inherited from MultiDict
:
Method | __contains__ |
Undocumented |
Method | __delitem__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | allitems |
Undocumented |
Method | append |
Add a new value to the list of values for this key. |
Method | get |
Return the most recent value for a key. |
Method | getall |
Return a (possibly empty) list of values for a key. |
Method | items |
Undocumented |
Method | keys |
Undocumented |
Method | replace |
Replace the list of values with a single value. |
Method | values |
Undocumented |
Instance Variable | dict |
Undocumented |