code: def __preprocess(
      cls,
      data: typing.Union[
          dgl.DGLGraph, autogl.data.graph.GeneralStaticGraph, typing.Any
      ],
  ) -> typing.Union[autogl.data.graph.GeneralStaticGraph, typing.Any]:
      if isinstance(data, dgl.DGLGraph):
          graph = autogl.data.graph.utils.conversion.dgl_graph_to_general_static_graph(
              data
          )
          setattr(
              graph, "__ORIGINAL_TYPE_BEFORE_PREPROCESSING", "DGLGraph"
          )
          return graph
      else:
          return data
  
file_path: AutoGL/autogl/module/preprocessing/_data_preprocessor/_data_preprocessor_dgl.py
imports: import copy
  import torch
  import typing
  import dgl
  import autogl.data.graph
  import autogl.data.graph.utils.conversion
  from .None import _data_preprocessor
label_desc: Use image node_id 1 for calling the DataPreprocessor obj's underlying member method code with example usage: obj.__preprocess(cls, data) and returns: graph, data