def _image_property_update(context, prop_ref, values, session=None):
 _drop_protected_attrs(models.ImageProperty, values)
 values['deleted'] = False
 prop_ref.update(values)
 prop_ref.save(session=session)
 return prop_ref

def _image_property_update ( context , prop_ref , values , session = None ) : _drop_protected_attrs ( models . ImageProperty , values ) values [ 'deleted' ] = False prop_ref . update ( values ) prop_ref . save ( session = session ) return prop_ref
used internally by image_property_create and image_property_update .