code: def get_name(func):
      """Get the name."""
      parts = []
      module = inspect.getmodule(func)
      if module:
          parts.append(module.__name__)
      if hasattr(func, "im_class"):
          parts.append(func.im_class.__name__)
      parts.append(func.__name__)
      return ".".join(parts)
  
file_path: celer/celer/tests/test_docstring_parameters.py
imports: import inspect
  import os.path
  import re
  import sys
  from unittest import SkipTest
  import warnings
  from pkgutil import walk_packages
  from inspect import getsource
  from numpydoc import docscrape
  import celer
label_desc: Use image node_id 1 for calling a global function with example usage: get_name(func) and returns: str