def format_image_notification(image):
 return {'id': image.image_id, 'name': image.name, 'status': image.status, 'created_at': timeutils.isotime(image.created_at), 'updated_at': timeutils.isotime(image.updated_at), 'min_disk': image.min_disk, 'min_ram': image.min_ram, 'protected': image.protected, 'checksum': image.checksum, 'owner': image.owner, 'disk_format': image.disk_format, 'container_format': image.container_format, 'size': image.size, 'virtual_size': image.virtual_size, 'is_public': (image.visibility == 'public'), 'visibility': image.visibility, 'properties': dict(image.extra_properties), 'tags': list(image.tags), 'deleted': False, 'deleted_at': None}

def format_image_notification ( image ) : return { 'id' : image . image_id , 'name' : image . name , 'status' : image . status , 'created_at' : timeutils . isotime ( image . created_at ) , 'updated_at' : timeutils . isotime ( image . updated_at ) , 'min_disk' : image . min_disk , 'min_ram' : image . min_ram , 'protected' : image . protected , 'checksum' : image . checksum , 'owner' : image . owner , 'disk_format' : image . disk_format , 'container_format' : image . container_format , 'size' : image . size , 'virtual_size' : image . virtual_size , 'is_public' : ( image . visibility == 'public' ) , 'visibility' : image . visibility , 'properties' : dict ( image . extra_properties ) , 'tags' : list ( image . tags ) , 'deleted' : False , 'deleted_at' : None }
given a glance .