code: def _resolve_file(
      resolver: Callable[[PATH_TYPE, Any], PATH_TYPE],
      root: PATH_TYPE,
      input_key: str,
      row: pd.Series,
  ) -> PATH_TYPE:
      return resolver(root, row[input_key])
  
file_path: lightning-flash/src/flash/core/data/utilities/data_frame.py
imports: import os
  from functools import partial
  from typing import Any, Callable, List, Optional, Union
  import pandas
  from flash.core.data.utilities.paths import PATH_TYPE
label_desc: Use image node_id 3 for calling a global function with example usage: _resolve_file(resolver, root, input_key, row) and returns: resolver