

def create(self, image_meta, data=None):
    image_id = self._create(image_meta, method='create', data=None)['id']
    return self.update(image_id, None, data)

dataset/ETHPy150Open openstack/ironic/ironic/common/glance_service/v2/image_service.py GlanceImageService.create/original