def parse_image_id(image_ref):
 return image_ref.rsplit('/')[(-1)]

def parse_image_id ( image_ref ) : return image_ref . rsplit ( '/' ) [ ( - 1 ) ]
return the image id from a given image ref this function just returns the last word of the given image ref string splitting with / .