vantage6.client.filter.filter_keys_from_results#

filter_keys_from_results(func)#

Remove key-value pairs from a list of dicts.

Removes key-value pair of all dictornairies in the list. If the key is not present in the dicts it is ignored.

Parameters:

func (callable) – The function that returns a list of dicts.

Returns:

The function that returns a list of dicts, with only the specified keys

Return type:

callable