code: def _pretty_format_function_call(
      base: str, name: str, arg_names: t.Tuple[t.Any]
  ):
      if arg_names:
          part_sigs = ", ".join(f"{k}" for k in arg_names)
      else:
          part_sigs = ""
  
      if name == "__call__":
          return f"{base}({part_sigs})"
      return f"{base}.{name}({part_sigs})"
  
imports: from __future__ import annotations
  import importlib.metadata
  import importlib.util
  import logging
  import typing
  from typing import TYPE_CHECKING
  from bentoml.exceptions import BentoMLException
  from ...types import LazyType
  from ...utils.lazy_loader import LazyLoader
label_desc: Use image node_id 14 for calling a global function with example usage: _pretty_format_function_call(base, name, arg_names) and returns: base, str, name, str, part_sigs, str, base, str, part_sigs, str