We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The logic would be along the lines of:
def reduce_to_dict(multidict: ImmutableListMultiDict[_KT, _VT], value_reducer: Callable[[Iterable[_VT]], _VT2]) -> ImmutableDict[_KT, _VT2]: return immutabledict( (key, value_reducer(multidict[key])) for key in multidict.keys() )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The logic would be along the lines of:
The text was updated successfully, but these errors were encountered: