def _image_member_delete_all(context, image_id, delete_time=None, session=None):
 members_updated_count = _image_child_entry_delete_all(models.ImageMember, image_id, delete_time, session)
 return members_updated_count

def _image_member_delete_all ( context , image_id , delete_time = None , session = None ) : members_updated_count = _image_child_entry_delete_all ( models . ImageMember , image_id , delete_time , session ) return members_updated_count
delete all image members for given image .