chore: update examples and Readme

This commit is contained in:
relikd
2022-08-03 08:17:26 +02:00
parent 8e250fb665
commit e67489ab0b
5 changed files with 27 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ class SimpleGroupByPlugin(Plugin):
# Yield groups
value = args.field # type: list # since model is 'strings' type
for tag in value:
yield tag, {'tags_in_page': value}
yield tag
# Everything below is just for documentation purposes
page = args.record # extract additional info from source
fieldKey, flowIndex, flowKey = args.key # or get field index