code: def get_namedtuple(cls, field_mappings, name="Record"):
      
      return namedtuple(name, [fm.destination_name for fm in field_mappings])
docs: Gets a namedtuple class that matches the destination_names in the list of field_mappings.