def vocabulary_show(context, data_dict):
 _check_access('vocabulary_show', context, data_dict)
 model = context['model']
 vocab_id = data_dict.get('id')
 if (not vocab_id):
  raise ValidationError({'id': _('id not in data')})
 vocabulary = model.vocabulary.Vocabulary.get(vocab_id)
 if (vocabulary is None):
  raise NotFound((_('Could not find vocabulary "%s"') % vocab_id))
 vocabulary_dict = model_dictize.vocabulary_dictize(vocabulary, context)
 return vocabulary_dict

def vocabulary_show ( context , data_dict ) : _check_access ( 'vocabulary_show' , context , data_dict ) model = context [ 'model' ] vocab_id = data_dict . get ( 'id' ) if ( not vocab_id ) : raise ValidationError ( { 'id' : _ ( 'id not in data' ) } ) vocabulary = model . vocabulary . Vocabulary . get ( vocab_id ) if ( vocabulary is None ) : raise NotFound ( ( _ ( 'Could not find vocabulary "%s"' ) % vocab_id ) ) vocabulary_dict = model_dictize . vocabulary_dictize ( vocabulary , context ) return vocabulary_dict
return a single tag vocabulary .