<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def patch_records(diff, from_records, strict=True):
 """ Apply the patch to the sequence of records, returning the transformed records. """

    return patch.apply(diff, from_records, strict=strict)