code: def get_python_class_methods(cls):
      ret = {}
      for key, value in cls.__dict__.items():
          if hasattr(value, "__call__"):
              ret[key] = value
      return ret
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/types/get_type_info.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from .type_spec import *
  from .type_void import void
label_desc: Use image node_id 3 for calling a global function with example usage: get_python_class_methods(cls) and returns: ret