@require_context
def volume_types_get_by_name_or_id(context, volume_type_list):
 req_volume_types = []
 for vol_t in volume_type_list:
  if (not uuidutils.is_uuid_like(vol_t)):
   vol_type = _volume_type_get_by_name(context, vol_t)
  else:
   vol_type = _volume_type_get(context, vol_t)
  req_volume_types.append(vol_type)
 return req_volume_types

@ require_context def volume_types_get_by_name_or_id ( context , volume_type_list ) : req_volume_types = [ ] for vol_t in volume_type_list : if ( not uuidutils . is_uuid_like ( vol_t ) ) : vol_type = _volume_type_get_by_name ( context , vol_t ) else : vol_type = _volume_type_get ( context , vol_t ) req_volume_types . append ( vol_type ) return req_volume_types
return a dict describing specific volume_type .