def get_image_details(self, context, instance): image_id = instance['image_ref'] return images.get_info(context, image_id)
def get_image_details(self, context, instance): image_id = instance.image_ref return images.get_info(context, image_id)