code: def gen_key_avgs_from_logs(
      key: str, logs: List[Dict]
  ) -> Dict[str, float]:
      return gen_key_avgs_from_dicts(
          [gen_key_avgs_from_iteration(key, log) for log in logs]
      )
  
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 5 for calling a global function with example usage: gen_key_avgs_from_logs(key, logs) and returns: gen_key_avgs_from_dicts