Add groupby_as_dict filter (#2323) (#2503)

* Add groupby_as_dict filter.

* Test all error cases.

(cherry picked from commit 384655e15c)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2021-05-14 09:47:53 +02:00
committed by GitHub
parent ad5482f63d
commit 6013c77c2b
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