code: def _get_path_by_key(root_path, key, conf):
      key_path = conf.get(key)
      return os.path.join(root_path, key_path) if key_path else None
  
imports: import json
  import logging
  import os
  import shutil
  import types
  from functools import lru_cache
  from importlib.util import find_spec
  from typing import Any, List, NamedTuple, Optional
  import cloudpickle
  import yaml
  from packaging import version
  import mlflow
  from mlflow.utils.class_utils import _get_class_from_string
label_desc: Use image node_id 17 for calling a global function with example usage: _get_path_by_key(root_path, key, conf) and returns: unknown