<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _from_rest_ignore(model, props):
 """ Purge fields that are completely unknown """


    fields = model.all_fields

    for prop in props.keys():
        if prop not in fields:
            del props[prop]