code: def get_trial_analytics(obj: Type) -> Dict[str, Any]:
      ancestors = ",".join(each.__name__ for each in obj.mro())
      return {
          "library_version": get_library_version_analytics(),
          "trial_name": obj.__name__,
          "trial_ancestors": ancestors,
      }
  
file_path: determined/harness/determined/common/api/analytics.py
imports: import logging
  import os
  import sys
  from typing import Any, Dict, Type
  import analytics
label_desc: Use image node_id 2 for calling a global function with example usage: get_trial_analytics(obj) and returns: dict