code: def __init__(self, definition: VariableDefinition):
      self.field = definition["field"]
  
      if "variable name" in definition:
          self.name = definition["variable name"]
      else:
          self.name = "(%s: %s)" % (self.field, self.type)
  
      self.predicates = [
          self._Predicate(pred, self.field)
          for pred in self._predicate_functions
      ]
  
      self.predicates += indexPredicates(
          self._index_predicates, self._index_thresholds, self.field
      )
  
      super(FieldType, self).__init__(definition)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from dedupe import predicates
label_desc: Use image node_id 1 to create a new FieldType object from inherited base classes: Variable with example: obj = FieldType(definition)