<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_namedtuple(cls, field_mappings, name="Record"):
 """Gets a namedtuple class that matches the destination_names in the list of field_mappings."""

    return namedtuple(name, [fm.destination_name for fm in field_mappings])