code: def gen_key_avgs_from_iteration(key: str, log: Dict) -> Any:
      return first(gen_dict_extract(key, log))
  
file_path: fklearn/src/fklearn/tuning/utils.py
imports: from typing import Any, Dict, Generator, List
  from toolz.curried import reduce, partial, pipe, first, curry
  from fklearn.metrics.pd_extractors import extract
  from fklearn.types import LogListType, LogType, ExtractorFnType, ValidatorReturnType, EvalReturnType
label_desc: Use image node_id 6 for calling a global function with example usage: gen_key_avgs_from_iteration(key, log) and returns: first