docs: def _from_rest_hide(model, props):
      """ Purge fields not allowed during a REST deserialization
  
      This is done on fields with `from_rest=False`.
      """
  
      hide = model.get_fields_by_prop('from_rest', False)
  
      for field in hide:
          try:
              del props[field]
          except KeyError:
              continue