@require_context
@pick_context_manager_reader
def flavor_get(context, id):
 result = _flavor_get_query(context).filter_by(id=id).first()
 if (not result):
  raise exception.FlavorNotFound(flavor_id=id)
 return _dict_with_extra_specs(result)

@ require_context @ pick_context_manager_reader def flavor_get ( context , id ) : result = _flavor_get_query ( context ) . filter_by ( id = id ) . first ( ) if ( not result ) : raise exception . FlavorNotFound ( flavor_id = id ) return _dict_with_extra_specs ( result )
returns a dict describing specific flavor .