class ImmutableOrderedMultiDict(ImmutableMultiDictMixin, OrderedMultiDict):
An immutable OrderedMultiDict
.
Method | __copy__ |
Undocumented |
Method | copy |
Return a shallow mutable copy of this object. Keep in mind that the standard library's copy function is a no-op for this class like for any other python immutable type (eg: tuple ). |
Method | _iter_hashitems |
Undocumented |
Inherited from ImmutableMultiDictMixin
:
Method | __reduce_ex__ |
Undocumented |
Method | add |
Undocumented |
Method | popitemlist |
Undocumented |
Method | poplist |
Undocumented |
Method | setlist |
Undocumented |
Method | setlistdefault |
Undocumented |
Inherited from ImmutableDictMixin
(via ImmutableMultiDictMixin
):
Class Method | fromkeys |
Undocumented |
Method | __delitem__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | clear |
Undocumented |
Method | pop |
Undocumented |
Method | popitem |
Undocumented |
Method | setdefault |
Undocumented |
Method | update |
Undocumented |
Instance Variable | _hash_cache |
Undocumented |
Inherited from OrderedMultiDict
:
Method | __delitem__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __getitem__ |
Return the first data value for this key; raises KeyError if not found. |
Method | __getstate__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __reduce_ex__ |
Undocumented |
Method | __setitem__ |
Like add but removes an existing key first. |
Method | __setstate__ |
Undocumented |
Method | add |
Adds a new value for the key. |
Method | getlist |
No summary |
Method | items |
Return an iterator of (key, value) pairs. |
Method | keys |
Undocumented |
Method | lists |
Return a iterator of (key, values) pairs, where values is the list of all values associated with the key. |
Method | listvalues |
Return an iterator of all values associated with a key. Zipping keys and this is the same as calling lists : |
Method | pop |
Pop the first item for a list on the dict. Afterwards the key is removed from the dict, so additional values are discarded: |
Method | popitem |
Pop an item from the dict. |
Method | popitemlist |
Pop a (key, list) tuple from the dict. |
Method | poplist |
Pop the list for a key from the dict. If the key is not in the dict an empty list is returned. |
Method | setlist |
Remove the old values for a key and add new ones. Note that the list you pass the values in will be shallow-copied before it is inserted in the dictionary. |
Method | setlistdefault |
No summary |
Method | update |
update() extends rather than replaces existing key lists: |
Method | values |
Returns an iterator of the first value on every key's value list. |
Class Variable | __hash__ |
Undocumented |
Instance Variable | _first_bucket |
Undocumented |
Instance Variable | _last_bucket |
Undocumented |
Inherited from MultiDict
(via OrderedMultiDict
):
Method | __deepcopy__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | deepcopy |
Return a deep copy of this object. |
Method | setdefault |
Returns the value for the key if it is in the dict, otherwise it returns default and sets that value for key . |
Method | to_dict |
Return the contents as regular dict. If flat is True the returned dict will only have the first item present, if flat is False all values will be returned as lists. |
Inherited from TypeConversionDict
(via OrderedMultiDict
, MultiDict
):
Method | get |
No summary |
werkzeug.datastructures.MultiDict.copy
copy
function is a no-op for this class
like for any other python immutable type (eg: tuple
).