list_keys

Contents

list_keys#

eoio.utils.dict_tools.list_keys(test_dict, tags=False, new_list=None)[source]#

List all keys in nested dictionary, useful when searching for keys in a Dataset dictionary

Parameters:
  • test_dict – dictionary to search

  • tags – whether or not to include keys with ‘@’ or ‘#’ in the list

  • new_list – list of keys to append to, default None creates a new empty list to return

Returns:

Sorted list of unique keys found in the nested dictionary.