Return the list of items for a given key. If that key is not in the MultiDict, the return value will be an empty list. Just as get getlist accepts a type parameter. All items will be converted with the callable defined there.
- key – The key to be looked up.
- type – A callable that is used to cast the value in the
MultiDict. If a
ValueErroris raised by this callable the value will be removed from the list.
listof all the values for the key.