code: def _fullname(attr):
      """Fully qualified name of an attribute."""
      fullname = ""
      try:
          if hasattr(attr, "__module__"):
              fullname += attr.__module__
          if hasattr(attr, "__name__"):
              if fullname:
                  fullname += "."
              fullname += attr.__name__
          if not fullname:
              fullname = str(attr)
      except Exception as e:
          print("Error qualifying", e)
      return fullname
  
imports: import inspect
  import ray
  from ray.util.annotations import _is_annotated
label_desc: Use image node_id 1 for calling a global function with example usage: _fullname(attr) and returns: fullname