code: def missing(variables: list[Variable]) -> list[MissingDataType]:
      missing_variables = []
      for var in variables:
          if var.has_missing:
              missing_variables.append(MissingDataType(var.name))
      return missing_variables
  
imports: from __future__ import annotations
  import copyreg
  import pkgutil
  import types
  from typing import TYPE_CHECKING, cast
  import numpy
  import dedupe.variables
  from dedupe.variables.base import FieldType
  from dedupe.variables.base import MissingDataType, Variable
  from dedupe.variables.interaction import InteractionType
label_desc: Use image node_id 2 for calling a global function with example usage: missing(variables) and returns: missing_variables