clean_dict

Contents

clean_dict#

eoio.utils.dict_tools.clean_dict(test_dict: dict, keys: list | str) None[source]#

Remove specified key/s from a dictionary

Parameters:
  • test_dict – input dictionary from which to remove keys

  • keys – key/s to remove from the dictionary