get_value_gen

Contents

get_value_gen#

eoio.utils.dict_tools.get_value_gen(test_dict: dict, key: str) Generator[source]#

Get generator function of dictionary values associated with the specified key

Parameters:
  • test_dict – input iterator in which to search for the key-values pair/s

  • key – key to use to search through dictionary

Returns:

Generator yielding key-value pairs matching key.