code: def _register_object(index, cls):
      """register object class in python"""
      OBJECT_TYPE[index] = cls
  
file_path: dgl/python/dgl/_ffi/_ctypes/object.py
imports: from __future__ import absolute_import
  import ctypes
  from ..base import _LIB, c_str, check_call
  from ..object_generic import _set_class_object_base
  from .types import _wrap_arg_func, C_TO_PY_ARG_SWITCH, DGLValue, RETURN_SWITCH, TypeCode
label_desc: Use image node_id 1 for calling a global function with example usage: _register_object(index, cls) without return types