1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00

fix after first review

This commit is contained in:
Lorenzo Tanganelli 2025-05-30 10:51:45 +00:00
parent 800e6d0d68
commit 0d976f71ad
3 changed files with 2 additions and 5 deletions

@ -1 +0,0 @@
Subproject commit fe2d9e316a38c96b798e830acc0a1314c35b8ef4

View file

@ -1,2 +0,0 @@
minor_changes:
- remove_keys_from_values - add new filter plugin

View file

@ -9,12 +9,12 @@ from __future__ import annotations
DOCUMENTATION = r"""
name: remove_keys_from_values
short_description: Remove keys from a list of dictionaries or a dictionary in base of value content
version_added: "10.6.0"
version_added: "11.0.0"
author:
- Lorenzo Tanganelli (@tanganellilore)
description:
- This filter removes keys from a list of dictionaries or a dictionary,
- recursively or not depending on the parameters.
recursively or not depending on the parameters.
- The type of values to be removed is defined by the O(values) parameter.
- The default is to remove keys with values like C(''), C([]), C({}), C(None), usefull for removing empty keys.
options: