docstr: Args:
      nodes: list of node ID
  
      max_degree: int, sample number of each node
  
      edge_type: str, edge type
  
      return_weight: bool, if True, then the edge weight will return
  
      return_edges: bool, if True, the complete edges will return
  
      split: bool, if True, the neighbors of nodes will be splited to corresponding node
docstr_tok: ["Args",":","nodes",":","list","of","node","ID","max_degree",":","int",",","sample","number","of","each","node","edge_type",":","str",",","edge","type","return_weight",":","bool",",","if","True",",","then","the","edge","weight","will","return","return_edges",":","bool",",","if","True",",","the","complete","edges","will","return","split",":","bool",",","if","True",",","the","neighbors","of","nodes","will","be","splited","to","corresponding","node"]
code: def sample_predecessor(
      self,
      nodes,
      max_degree,
      edge_type=None,
      return_weight=False,
      return_edges=False,
      split=True,
  ):
      """
      Args:
          nodes: list of node ID
  
          max_degree: int, sample number of each node
  
          edge_type: str, edge type
  
          return_weight: bool, if True, then the edge weight will return
  
          return_edges: bool, if True, the complete edges will return
  
          split: bool, if True, the neighbors of nodes will be splited to corresponding node
      """
  
      return self.sample_successor(
          nodes,
          max_degree,
          edge_type=edge_type,
          return_weight=return_weight,
          return_edges=return_edges,
          split=split,
      )
  
imports: import os
  import sys
  import time
  import argparse
  import warnings
  import numpy
  from functools import partial
  from paddle.framework import core
  from pgl.utils.logger import log
  from pgl.distributed import helper
label_desc: Use image node_id 4 for calling the DistGraphClient obj's underlying member method code with example usage: obj.sample_predecessor(nodes, max_degree, edge_type, return_weight, return_edges, split) and returns: self