def transformation(view):
    view = self.coerce_view(view)
    self.validate(view)
    new_view = transformer(view)
    new_view = other.coerce_view(new_view)
    other.validate(new_view)
    if (transformer is not identity_transformer):
        other.set_user_owned(new_view, False)
    return new_view
def transformation(view):
    view = self.coerce_view(view)
    self.validate(view)
    new_view = transformer(view)
    new_view = other.coerce_view(new_view)
    other.validate(new_view)
    if (transformer is not identity_transformer):
        other.set_user_owned(new_view, False)
    return new_view