class_docstr: ```
  Link preprocessing base class
  ```
class_docstr_tok: ["``","`","Link","preprocessing","base","class","``","`"]
code: def preprocess(self, G, edge_ids):
      edge_labels = [1] * len(edge_ids)
      return self.preprocess_valid(G, edge_ids, edge_labels)
  
imports: from ..None import utils
  from ..imports import *
  from ..preprocessor import Preprocessor
label_desc: Use image node_id 4 for calling the LinkPreprocessor obj's underlying member method code with example usage: obj.preprocess(G, edge_ids) and returns: self