code: def recover_model_from_data(model_class, original_data, modified_data, deleted_data):
      
      model = model_class()
      return set_model_internal_data(model, original_data, modified_data, deleted_data)
docs: Function to reconstruct a model from DirtyModel basic information: original data, the modified and deleted
      fields.
      Necessary for pickle an object