Add groupby_as_dict filter (#2323)

* Add groupby_as_dict filter.

* Test all error cases.
This commit is contained in:
Felix Fontein 2021-05-13 21:49:57 +02:00 committed by GitHub
commit 384655e15c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 123 additions and 0 deletions

View file

@ -0,0 +1,3 @@
add plugin.filter:
- name: groupby_as_dict
description: Transform a sequence of dictionaries to a dictionary where the dictionaries are indexed by an attribute