docs: def get_namedtuple_factory(cls, field_mappings, name="Record"):
      """Gets a method that will convert a dictionary to a namedtuple, as defined by
      get_namedtuple(field_mappings).
      """
      ntup = cls.get_namedtuple(field_mappings, name)
      return lambda data: ntup(**data)