class_docstr: ObjectBase is the base class of all DGL CAPI object.
  
  The core attribute is ``handle``, which is a C raw pointer.  It must be initialized
  via ``__init_handle_by_constructor__``.
  
  Note that the same handle **CANNOT** be shared across multiple ObjectBase instances.
class_docstr_tok: ["ObjectBase","is","the","base","class","of","all","DGL","CAPI","object",".","The","core","attribute","is","``","handle","``",",","which","is","a","C","raw","pointer",".","It","must","be","initialized","via","``","__init_handle_by_constructor__","``",".","Note","that","the","same","handle","*","*","CAN","NOT","*","*","be","shared","across","multiple","ObjectBase","instances","."]
code: def __setstate__(self, state):
      # pylint: disable=assigning-non-slot
      # TODO(minjie): TVM assumes that a Node (Object in DGL) can be serialized
      #   to json. However, this is not true in DGL because DGL Object is meant
      #   for runtime API, so it could contain binary data such as NDArray.
      #   If this feature is required, please raise a RFC to DGL issue.
      raise RuntimeError(
          "__setstate__ is not supported for object type"
      )
  
file_path: dgl/python/dgl/_ffi/object.py
imports: from __future__ import absolute_import
  import ctypes
  import sys
  from ..None import _api_internal
  from .base import _FFI_MODE, _LIB, c_str, check_call, py_str
  from .object_generic import convert_to_object, ObjectGeneric
label_desc: Use image node_id 7 for calling the ObjectBase obj's underlying member method code with example usage: obj.__setstate__(state) without return types