class_docstr: Takes in a record and returns all blocks that record belongs to
class_docstr_tok: ["Takes","in","a","record","and","returns","all","blocks","that","record","belongs","to"]
code: def __init__(
      self, predicates: Iterable[dedupe.predicates.Predicate]
  ) -> None:
      self.predicates = predicates
  
      self.index_fields: dict[str, IndexList]
      self.index_fields = defaultdict(index_list)
      """
          A dictionary of all the fingerprinter methods that use an
          index of data field values. The keys are the field names,
          which can be useful to know for indexing the data.
          """
  
      self.index_predicates = []
  
      for full_predicate in predicates:
          for predicate in full_predicate:
              if hasattr(predicate, "index"):
                  self.index_fields[predicate.field][
                      predicate.type
                  ].append(predicate)
                  self.index_predicates.append(predicate)
  
file_path: dedupe/dedupe/blocking.py
imports: from __future__ import annotations
  import logging
  import time
  from collections import defaultdict
  from typing import TYPE_CHECKING
label_desc: Use image node_id 1 to create a new Fingerprinter object from inherited base classes: object with example: obj = Fingerprinter(predicates)