original_docstring: Returns a dict with image data for the given opaque image id.
  
          :param image_id: The opaque image identifier.
          :returns: A dict containing image metadata.
  
          :raises: ImageNotFound
          
docstring: Returns a dict with image data for the given opaque image id.
docstring_tokens: Returns a dict with image data for the given opaque image id .
code: def _show(self, image_href, method='get'):
          """Returns a dict with image data for the given opaque image id.
  
          :param image_id: The opaque image identifier.
          :returns: A dict containing image metadata.
  
          :raises: ImageNotFound
          """
          LOG.debug("Getting image metadata from glance. Image: %s",
                    image_href)
          image_id = service_utils.parse_image_ref(image_href)[0]
  
          image = self.call(method, image_id)
  
          if not service_utils.is_image_available(self.context, image):
              raise exception.ImageNotFound(image_id=image_id)
  
          base_image_meta = service_utils.translate_from_glance(image)
          return base_image_meta
code_tokens: def _show ( self , image_href , method = 'get' ) : LOG . debug ( "Getting image metadata from glance. Image: %s" , image_href ) image_id = service_utils . parse_image_ref ( image_href ) [ 0 ] image = self . call ( method , image_id ) if not service_utils . is_image_available ( self . context , image ) : raise exception . ImageNotFound ( image_id = image_id ) base_image_meta = service_utils . translate_from_glance ( image ) return base_image_meta
short_docstring: Returns a dict with image data for the given opaque image id.
short_docstring_tokens: Returns a dict with image data for the given opaque image id .
comment: """Returns a dict with image data for the given opaque image id.
  
          :param image_id: The opaque image identifier.
          :returns: A dict containing image metadata.
  
          :raises: ImageNotFound
          """